git » kauth.git » commit a620a14

Move dbus conf to /usr/share

author Antonio Rojas
2019-01-14 21:51:08 UTC
committer Antonio Rojas
2019-01-14 21:51:08 UTC
parent b4c926118a7e345187cfc02fc2a39757843434a2

Move dbus conf to /usr/share

PKGBUILD +5 -1

diff --git a/PKGBUILD b/PKGBUILD
index 0ec41f8..303b1ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kauth
 pkgver=5.54.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Abstraction to system policy and authentication features'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -20,6 +20,10 @@ validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde
 
 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
 }
 
 build() {