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

Felix Yan felixonmars at archlinux.org
Wed Jun 30 02:11:03 UTC 2021


    Date: Wednesday, June 30, 2021 @ 02:11:03
  Author: felixonmars
Revision: 967902

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-polkit-agent/repos/community-testing-x86_64/
  deepin-polkit-agent/repos/community-testing-x86_64/PKGBUILD
    (from rev 967901, deepin-polkit-agent/trunk/PKGBUILD)

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

Copied: deepin-polkit-agent/repos/community-testing-x86_64/PKGBUILD (from rev 967901, deepin-polkit-agent/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-06-30 02:11:03 UTC (rev 967902)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-polkit-agent
+pkgver=5.4.7
+pkgrel=1
+pkgdesc='Deepin Polkit Agent'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-polkit-agent"
+license=('GPL3')
+depends=('deepin-qt5integration' 'deepin-qt-dbus-factory' 'polkit-qt5')
+makedepends=('qt5-tools')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-polkit-agent/archive/$pkgver.tar.gz")
+sha512sums=('d8417ec0f4cb0f62bd351695bfd9529cbd24e814bdb2c78c6d7a98625a92c196ffe62fcdde5d92268451ae9facaeea348e1424caa22037119122a4c9fcc8f7ec')
+
+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
+  # https://github.com/linuxdeepin/dde-polkit-agent/issues/26
+  sed -i '/setCancel/d' policykitlistener.cpp
+}
+
+build() {
+  cd dde-polkit-agent-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd dde-polkit-agent-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}




More information about the arch-commits mailing list