git » kauth.git » commit fd1d929

KDE Framework 5.58

author Antonio Rojas
2019-05-13 19:59:05 UTC
committer Antonio Rojas
2019-05-13 19:59:05 UTC
parent 4e8b8b3530454228219dc4871d254bd28fac4c9b

KDE Framework 5.58

PKGBUILD +7 -6

diff --git a/PKGBUILD b/PKGBUILD
index 006eeb8..8735ed4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=kauth
-pkgver=5.57.0
+pkgver=5.58.0
 pkgrel=1
 pkgdesc='Abstraction to system policy and authentication features'
 arch=(x86_64)
@@ -13,17 +13,18 @@ depends=(kcoreaddons polkit-qt5)
 makedepends=(extra-cmake-modules qt5-tools clang python-pyqt5 doxygen sip)
 optdepends=('python-pyqt5: for the Python bindings')
 groups=(kf5)
-source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('9d6b9135cc47710b28e2a7731c4c5c1f6dba2b0e5fe982b9d2a82a11d7d497c2'
-            'SKIP')
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}
+        kauth-dbusdir.patch::"https://cgit.kde.org/kauth.git/patch/?id=34501bce")
+sha256sums=('8c004199f1e7aa14f9244299bb8b288f6d077e5c2557f089a530d0c1cd072f4f'
+            'SKIP'
+            '848056015103ea9b5d81f56098df22f070c1608f835f39c4bf1a4d4a40c3fdf8')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
 prepare() {
   mkdir -p build
 
   cd $pkgname-$pkgver
-# Install dbus conf in /usr/share 
-  sed -e 's|${SYSCONF_INSTALL_DIR}/dbus-1/system.d|${CMAKE_INSTALL_DBUSDIR}/system.d|g' -i src/ConfigureChecks.cmake -i cmake/KF5AuthMacros.cmake
+  patch -p1 -i ../kauth-dbusdir.patch # Install dbus conf in /usr/share 
 }
 
 build() {