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

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


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

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-10 20:01:20 UTC (rev 626211)
+++ PKGBUILD	2020-05-10 20:01:37 UTC (rev 626212)
@@ -1,26 +0,0 @@
-# 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.1.0
-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')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-polkit-agent/archive/$pkgver.tar.gz")
-sha512sums=('61beb23fed05fb697a41e5bdff50a94d628a22d67e10e5f2b20096f5e4f9f0a265d6d4d6c8f4b5b6e3a0b8b10ce4c9236405e865766f8c147831fe16bee869a5')
-
-build() {
-  cd dde-polkit-agent-$pkgver
-  qmake-qt5 PREFIX=/usr
-  make
-}
-
-package() {
-  cd dde-polkit-agent-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-polkit-agent/repos/community-x86_64/PKGBUILD (from rev 626211, deepin-polkit-agent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-10 20:01:37 UTC (rev 626212)
@@ -0,0 +1,32 @@
+# 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.1.0
+pkgrel=2
+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')
+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
+  make
+}
+
+package() {
+  cd dde-polkit-agent-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}


More information about the arch-commits mailing list