2016-03-23 03:24:35 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/polkit-kde-frameworks
|
|
|
|
source ../plasma.conf
|
|
|
|
|
|
|
|
pkgname=polkit-kde-agent
|
|
|
|
_pkgname=${pkgname}-1
|
|
|
|
pkgver=${PVersion}
|
2016-03-30 03:53:17 +08:00
|
|
|
pkgrel=1
|
2016-03-23 03:24:35 +08:00
|
|
|
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-frameworks')
|
|
|
|
conflicts=('polkit-kde-agent-frameworks')
|
|
|
|
provides=('polkit-kde-agent-frameworks')
|
|
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
2016-10-01 03:01:02 +08:00
|
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PVersion}.tar.xz"{,.sig})
|
|
|
|
sha256sums=( $(getSum ${_pkgname})
|
|
|
|
'SKIP' )
|
|
|
|
validpgpkeys=(${Pvalidpgpkeys})
|
2016-03-23 03:24:35 +08:00
|
|
|
|
|
|
|
prepare() {
|
2016-03-23 03:33:10 +08:00
|
|
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
2016-03-23 03:24:35 +08:00
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2016-03-23 03:33:10 +08:00
|
|
|
cd ${srcdir}/${_pkgname}-${pkgver}/build
|
|
|
|
cmake_kf5 .. \
|
2016-03-23 03:24:35 +08:00
|
|
|
-DLIBEXEC_INSTALL_DIR=lib/polkit-kde
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-03-23 03:33:10 +08:00
|
|
|
cd ${srcdir}/${_pkgname}-${pkgver}/build
|
2016-03-23 03:24:35 +08:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|