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

Felix Yan felixonmars at archlinux.org
Sun May 10 20:01:21 UTC 2020


    Date: Sunday, May 10, 2020 @ 20:01:20
  Author: felixonmars
Revision: 626211

upgpkg: deepin-polkit-agent 5.1.0-2

Modified:
  deepin-polkit-agent/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-10 19:59:24 UTC (rev 626210)
+++ PKGBUILD	2020-05-10 20:01:20 UTC (rev 626211)
@@ -4,7 +4,7 @@
 
 pkgname=deepin-polkit-agent
 pkgver=5.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Deepin Polkit Agent'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/dde-polkit-agent"
@@ -14,6 +14,12 @@
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-polkit-agent/archive/$pkgver.tar.gz")
 sha512sums=('61beb23fed05fb697a41e5bdff50a94d628a22d67e10e5f2b20096f5e4f9f0a265d6d4d6c8f4b5b6e3a0b8b10ce4c9236405e865766f8c147831fe16bee869a5')
 
+prepare() {
+  cd dde-polkit-agent-$pkgver
+  # https://github.com/linuxdeepin/developer-center/issues/1721
+  sed -i 's/bool is_deepin = true/bool is_deepin = false/' policykitlistener.cpp
+}
+
 build() {
   cd dde-polkit-agent-$pkgver
   qmake-qt5 PREFIX=/usr


More information about the arch-commits mailing list