[arch-commits] Commit in deepin-anything-arch/repos (2 files)
Jan Steffens
heftig at archlinux.org
Fri May 17 07:34:06 UTC 2019
Date: Friday, May 17, 2019 @ 07:34:05
Author: heftig
Revision: 467633
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-anything-arch/repos/community-staging-x86_64/
deepin-anything-arch/repos/community-staging-x86_64/PKGBUILD
(from rev 467626, deepin-anything-arch/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: deepin-anything-arch/repos/community-staging-x86_64/PKGBUILD (from rev 467626, deepin-anything-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-17 07:34:05 UTC (rev 467633)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-anything-arch
+pkgver=0.0.9
+_extramodules=extramodules-ARCH
+pkgrel=4
+pkgdesc="Deepin Anything file search tool, kernel module for Arch kernel"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-anything"
+license=('GPL3')
+depends=('linux')
+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=('31f7507221c995bcf2667ff59765c14eea0e0d2739debbe85be785f1290f3e84614e9e691c84434798f5dc427deaafe116171ea72e7b14b862c90e8107545bee')
+
+build() {
+ cd deepin-anything-$pkgver
+ _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+ make -C kernelmod kdir=/usr/lib/modules/$_kernver/build
+}
+
+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
+}
More information about the arch-commits
mailing list