[arch-commits] Commit in deepin-anything/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Feb 5 09:19:57 UTC 2021


    Date: Friday, February 5, 2021 @ 09:19:57
  Author: felixonmars
Revision: 845809

upgpkg: deepin-anything 5.0.7-2: add build fix for https://github.com/linuxdeepin/deepin-anything/issues/36

Modified:
  deepin-anything/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-05 09:18:52 UTC (rev 845808)
+++ PKGBUILD	2021-02-05 09:19:57 UTC (rev 845809)
@@ -4,13 +4,13 @@
 pkgname=(deepin-anything deepin-anything-dkms)
 pkgver=5.0.7
 _extramodules=extramodules-ARCH
-pkgrel=1
+pkgrel=2
 pkgdesc="Deepin Anything file search tool"
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-anything"
 license=('GPL3')
 makedepends=('dtkcore' 'udisks2-qt5')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-anything/archive/$pkgver.tar.gz"
+source=("https://github.com/linuxdeepin/deepin-anything/archive/$pkgver/$pkgname-$pkgver.tar.gz"
         deepin-anything-server.sysusers)
 sha512sums=('51e8488b4d0652d24afd1b5bd74e88140e2754354bfa85639c668479deca25e8163f3ffcf8bc1c6629d97d1cea24de89c65a76b8c9902745911fd0ed9b12b770'
             '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85')
@@ -17,6 +17,9 @@
 
 prepare() {
   cd deepin-anything-$pkgver
+  # https://github.com/linuxdeepin/deepin-anything/issues/36
+  sed -i '454s/return;/return -1;/' kernelmod/vfs_kretprobes.c
+
   sed -i 's|^systemd_service.path.*|systemd_service.path = /usr/lib/systemd/system|' server/monitor/src/src.pro server/tool/tool.pro
 }
 



More information about the arch-commits mailing list