[arch-commits] Commit in kpmcore/trunk (PKGBUILD kpmcore-dbusdir.patch)
Antonio Rojas
arojas at archlinux.org
Sun May 12 17:55:23 UTC 2019
Date: Sunday, May 12, 2019 @ 17:55:22
Author: arojas
Revision: 467051
Move dbus policy files under /usr
Added:
kpmcore/trunk/kpmcore-dbusdir.patch
Modified:
kpmcore/trunk/PKGBUILD
-----------------------+
PKGBUILD | 10 +++++++---
kpmcore-dbusdir.patch | 15 +++++++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-12 17:17:37 UTC (rev 467050)
+++ PKGBUILD 2019-05-12 17:55:22 UTC (rev 467051)
@@ -2,7 +2,7 @@
pkgname=kpmcore
pkgver=4.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="Library for managing partitions"
arch=(x86_64)
url="https://www.kde.org/applications/system/kdepartitionmanager/"
@@ -20,13 +20,17 @@
'exfat-utils: exFAT support'
'nilfs-utils: nilfs support'
'udftools: UDF support')
-source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} kpmcore-dbusdir.patch)
sha256sums=('d7f044ca256369bec62ec5460bad397cd67473f4a8b2d48686e91a9bf24ddf6d'
- 'SKIP')
+ 'SKIP'
+ '52b81ba66ff3e23640a2e56927acaf028a7b7db81d615bf82fb99b9bb7b7de59')
validpgpkeys=(1EE5A3205904BAA2B88C0A9D24FD31940095C0E1) # Andrius Štikonas <andrius at stikonas.eu>
prepare() {
mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../kpmcore-dbusdir.patch # Fix d-bus policy install dir
}
build() {
Added: kpmcore-dbusdir.patch
===================================================================
--- kpmcore-dbusdir.patch (rev 0)
+++ kpmcore-dbusdir.patch 2019-05-12 17:55:22 UTC (rev 467051)
@@ -0,0 +1,15 @@
+diff --git a/src/util/CMakeLists.txt b/src/util/CMakeLists.txt
+index d616933..b3f2ee2 100644
+--- a/src/util/CMakeLists.txt
++++ b/src/util/CMakeLists.txt
+@@ -50,8 +50,8 @@ target_link_libraries(kpmcore_externalcommand
+ )
+
+ install(TARGETS kpmcore_externalcommand DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
+-install( FILES util/org.kde.kpmcore.helperinterface.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d )
+-install( FILES util/org.kde.kpmcore.applicationinterface.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d )
++install( FILES util/org.kde.kpmcore.helperinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d )
++install( FILES util/org.kde.kpmcore.applicationinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d )
+
+ kauth_install_helper_files(kpmcore_externalcommand org.kde.kpmcore.externalcommand root)
+ kauth_install_actions(org.kde.kpmcore.externalcommand util/org.kde.kpmcore.externalcommand.actions)
More information about the arch-commits
mailing list