[arch-commits] Commit in deepin-anything-arch/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed May 22 01:04:03 UTC 2019


    Date: Wednesday, May 22, 2019 @ 01:04:02
  Author: heftig
Revision: 468260

0.0.9-5: kernel 5.1.3.arch2-1

Modified:
  deepin-anything-arch/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-22 01:03:58 UTC (rev 468259)
+++ PKGBUILD	2019-05-22 01:04:02 UTC (rev 468260)
@@ -3,7 +3,7 @@
 pkgname=deepin-anything-arch
 pkgver=0.0.9
 _extramodules=extramodules-ARCH
-pkgrel=4
+pkgrel=5
 pkgdesc="Deepin Anything file search tool, kernel module for Arch kernel"
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-anything"
@@ -22,7 +22,7 @@
 }
 
 package() {
-  cd deepin-anything-$pkgver/kernelmod
-  install -Dm644 vfs_monitor.ko "$pkgdir"/usr/lib/modules/$_extramodules/vfs_monitor.ko
-  gzip "$pkgdir"/usr/lib/modules/$_extramodules/vfs_monitor.ko
+  cd deepin-anything-$pkgver
+  install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 kernelmod/*.ko
+  find "$pkgdir" -name '*.ko' -exec xz {} +
 }


More information about the arch-commits mailing list