Date: Friday, June 18, 2021 @ 23:19:38 Author: heftig Revision: 965202
archrelease: copy trunk to community-testing-x86_64 Added: deepin-anything-arch/repos/community-testing-x86_64/ deepin-anything-arch/repos/community-testing-x86_64/PKGBUILD (from rev 965200, deepin-anything-arch/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: deepin-anything-arch/repos/community-testing-x86_64/PKGBUILD (from rev 965200, deepin-anything-arch/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-06-18 23:19:38 UTC (rev 965202) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-anything-arch +pkgver=5.0.9 +pkgrel=5 +pkgdesc="Deepin Anything file search tool, kernel module for Arch kernel" +arch=('x86_64') +url="https://github.com/linuxdeepin/deepin-anything" +license=('GPL3') +makedepends=('linux-headers') +provides=('DEEPIN-ANYTHING-MODULE') +replaces=('deepin-anything-module') +source=("https://github.com/linuxdeepin/deepin-anything/archive/$pkgver/deepin-anything-$pkgver.tar.gz") +sha512sums=('d7038f900c7f6cf2af156ced0fab6bcd46bff347011acc34b5d355ae8f09efe3f323724b728fbfe9c8b961e238ceb7c81aaf45f2e446b5d9ce908e8c0a658c5b') + +build() { + cd deepin-anything-$pkgver + make -C kernelmod kdir=/usr/src/linux +} + +package() { + depends=('linux') + + cd deepin-anything-$pkgver + local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules + install -Dt "$pkgdir$extradir" -m644 kernelmod/*.ko + find "$pkgdir" -name '*.ko' -exec strip --strip-debug {} + + find "$pkgdir" -name '*.ko' -exec xz {} + +}