[arch-commits] Commit in deepin-anything-arch/repos (2 files)
Jan Steffens
heftig at archlinux.org
Wed Apr 3 18:12:12 UTC 2019
Date: Wednesday, April 3, 2019 @ 18:12:12
Author: heftig
Revision: 448351
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 448346, deepin-anything-arch/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: deepin-anything-arch/repos/community-staging-x86_64/PKGBUILD (from rev 448346, deepin-anything-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-04-03 18:12:12 UTC (rev 448351)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-anything-arch
+pkgver=0.0.6
+_extramodules=extramodules-ARCH
+pkgrel=3
+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=('0a2752bd1dfd3c0a73c06ab41c116a710f6cb3f1e083ed7e45141144710f8c4dd143faba0193e518c3c0d4ed4bf26e71b520f8370e4e7b93db144cb926d92f9c')
+
+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