upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / deepin-anything-arch / trunk / PKGBUILD
blob908eaab6935c0cffb031637c6b1295390ff87061
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=deepin-anything-arch
4 pkgver=5.0.18
5 pkgrel=58
6 pkgdesc="Deepin Anything file search tool, kernel module for Arch kernel"
7 arch=('x86_64')
8 url="https://github.com/linuxdeepin/deepin-anything"
9 license=('GPL3')
10 makedepends=('linux-headers')
11 provides=('DEEPIN-ANYTHING-MODULE')
12 replaces=('deepin-anything-module')
13 source=("https://github.com/linuxdeepin/deepin-anything/archive/$pkgver/deepin-anything-$pkgver.tar.gz")
14 sha512sums=('73cc90f394b53a8d8edc17b258b63789cddd3094008de8403b24cdb0ed94e677cb9eedac297b73e8142204612a4ae5119450ebb08be4ea1c94abf0d375f8b51d')
16 build() {
17   cd deepin-anything-$pkgver
18   make -C kernelmod kdir=/usr/src/linux
21 package() {
22   depends=('linux')
24   cd deepin-anything-$pkgver
25   local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules
26   install -Dt "$pkgdir$extradir" -m644 kernelmod/*.ko
27   find "$pkgdir" -name '*.ko' -exec strip --strip-debug {} +
28   find "$pkgdir" -name '*.ko' -exec xz {} +