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

Jan Steffens heftig at gemini.archlinux.org
Mon May 30 18:39:40 UTC 2022


    Date: Monday, May 30, 2022 @ 18:39:40
  Author: heftig
Revision: 1216850

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

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

Copied: deepin-anything-arch/repos/community-testing-x86_64/PKGBUILD (from rev 1216849, deepin-anything-arch/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-05-30 18:39:40 UTC (rev 1216850)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-anything-arch
+pkgver=5.0.9
+pkgrel=88
+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