This commit is contained in:
Chaoting Liu 2016-03-22 19:25:08 +00:00
parent 608f6cd898
commit 28de817c38
2 changed files with 0 additions and 46 deletions

View File

@ -1,34 +0,0 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/polkit-kde-frameworks
source ../plasma.conf
pkgname=polkit-kde-agent-frameworks
_pkgname=polkit-kde-agent-1
pkgver=${PVersion}
pkgrel=1
pkgdesc='Daemon providing a polkit authentication UI for KDE'
arch=('x86_64')
url='https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1/'
license=('LGPL')
depends=('knotifications')
replaces=('polkit-kde-agent')
conflicts=('polkit-kde-agent')
provides=('polkit-kde-agent')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
source=("${PServer}/${pkgver}/${_pkgname}-${PVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver} \
-DLIBEXEC_INSTALL_DIR=lib/polkit-kde
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}

View File

@ -1,12 +0,0 @@
--- a/polkit-kde-authentication-agent-1.desktop.in
+++ b/polkit-kde-authentication-agent-1.desktop.in
@@ -15,7 +15,7 @@
Comment[sv]=Policykit behörighetskontrollverktyg
Comment[uk]=Агент розпізнавання PolicyKit
Comment[x-test]=xxPolicyKit Authentication Agentxx
-Exec=${CMAKE_INSTALL_PREFIX}/${LIBEXEC_INSTALL_DIR}/polkit-kde-authentication-agent-1
+Exec=${CMAKE_INSTALL_FULL_LIBEXECDIR}/polkit-kde-authentication-agent-1
Terminal=false
Type=Application
Categories=