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

Jan Steffens heftig at gemini.archlinux.org
Thu Oct 7 20:33:52 UTC 2021


    Date: Thursday, October 7, 2021 @ 20:33:52
  Author: heftig
Revision: 1027981

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-anything-arch/repos/community-testing-x86_64/
  deepin-anything-arch/repos/community-testing-x86_64/PKGBUILD
    (from rev 1027980, deepin-anything-arch/trunk/PKGBUILD)

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

Copied: deepin-anything-arch/repos/community-testing-x86_64/PKGBUILD (from rev 1027980, deepin-anything-arch/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-10-07 20:33:52 UTC (rev 1027981)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-anything-arch
+pkgver=5.0.9
+pkgrel=33
+pkgdesc="Deepin Anything file search tool, kernel module for Arch kernel"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-anything"
+license=('GPL3')
+makedepends=('linux-headers')
+provides=('DEEPIN-ANYTHING-MODULE')
+replaces=('deepin-anything-module')
+source=("https://github.com/linuxdeepin/deepin-anything/archive/$pkgver/deepin-anything-$pkgver.tar.gz")
+sha512sums=('d7038f900c7f6cf2af156ced0fab6bcd46bff347011acc34b5d355ae8f09efe3f323724b728fbfe9c8b961e238ceb7c81aaf45f2e446b5d9ce908e8c0a658c5b')
+
+build() {
+  cd deepin-anything-$pkgver
+  make -C kernelmod kdir=/usr/src/linux
+}
+
+package() {
+  depends=('linux')
+
+  cd deepin-anything-$pkgver
+  local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules
+  install -Dt "$pkgdir$extradir" -m644 kernelmod/*.ko
+  find "$pkgdir" -name '*.ko' -exec strip --strip-debug {} +
+  find "$pkgdir" -name '*.ko' -exec xz {} +
+}



More information about the arch-commits mailing list