[arch-commits] Commit in deepin-anything-arch/repos (2 files)
Jan Steffens
heftig at gemini.archlinux.org
Mon Sep 5 18:38:38 UTC 2022
Date: Monday, September 5, 2022 @ 18:38:37
Author: heftig
Revision: 1293098
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 1293091, deepin-anything-arch/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: deepin-anything-arch/repos/community-testing-x86_64/PKGBUILD (from rev 1293091, deepin-anything-arch/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-09-05 18:38:37 UTC (rev 1293098)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-anything-arch
+pkgver=5.0.18
+pkgrel=2
+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=('73cc90f394b53a8d8edc17b258b63789cddd3094008de8403b24cdb0ed94e677cb9eedac297b73e8142204612a4ae5119450ebb08be4ea1c94abf0d375f8b51d')
+
+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