Date: Friday, January 17, 2020 @ 23:51:43 Author: heftig Revision: 552942
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 552937, deepin-anything-arch/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: deepin-anything-arch/repos/community-testing-x86_64/PKGBUILD (from rev 552937, deepin-anything-arch/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-01-17 23:51:43 UTC (rev 552942) @@ -0,0 +1,28 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-anything-arch +pkgver=5.0.1 +pkgrel=42 +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=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-anything/archive/$pkgver.tar.gz") +sha512sums=('f79b4db917cce2611bd6964d00ae0e162fc500fa7ca76a987145456a9ee81296c776d2b83cf6492a4224c4e4fd95df3ad95a25c1c14d2d4e6865f5bbd639be14') + +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 xz {} + +}