[arch-commits] Commit in deepin-anything-arch/repos (2 files)

Jan Steffens heftig at archlinux.org
Tue Jun 25 08:01:21 UTC 2019


    Date: Tuesday, June 25, 2019 @ 08:01:21
  Author: heftig
Revision: 483896

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 483893, deepin-anything-arch/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: deepin-anything-arch/repos/community-staging-x86_64/PKGBUILD (from rev 483893, deepin-anything-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-06-25 08:01:21 UTC (rev 483896)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-anything-arch
+pkgver=0.1.0
+_extramodules=extramodules-ARCH
+pkgrel=12
+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=('892828f7c52bb267993507890329e3f3b03550dd5a575a61a70995ce5d9f8cd27f1f1e5b21d4a1ec213ffc430d5236102a9e49b98a0fc0bf2f9042e719d9bfde')
+
+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
+  install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 kernelmod/*.ko
+  find "$pkgdir" -name '*.ko' -exec xz {} +
+}


More information about the arch-commits mailing list