[arch-commits] Commit in deepin-anything-arch/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Sun May 30 12:22:16 UTC 2021
Date: Sunday, May 30, 2021 @ 12:22:16
Author: felixonmars
Revision: 950372
archrelease: copy trunk to community-x86_64
Added:
deepin-anything-arch/repos/community-x86_64/PKGBUILD
(from rev 950371, deepin-anything-arch/trunk/PKGBUILD)
Deleted:
deepin-anything-arch/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++----------------------------------
1 file changed, 29 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-30 12:22:01 UTC (rev 950371)
+++ PKGBUILD 2021-05-30 12:22:16 UTC (rev 950372)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-anything-arch
-pkgver=5.0.7
-pkgrel=39
-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=('51e8488b4d0652d24afd1b5bd74e88140e2754354bfa85639c668479deca25e8163f3ffcf8bc1c6629d97d1cea24de89c65a76b8c9902745911fd0ed9b12b770')
-
-prepare() {
- cd deepin-anything-$pkgver
- # https://github.com/linuxdeepin/deepin-anything/issues/36
- sed -i '454s/return;/return -1;/' kernelmod/vfs_kretprobes.c
-}
-
-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 {} +
-}
Copied: deepin-anything-arch/repos/community-x86_64/PKGBUILD (from rev 950371, deepin-anything-arch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-30 12:22:16 UTC (rev 950372)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-anything-arch
+pkgver=5.0.9
+pkgrel=1
+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