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}
|
2018-05-15 02:16:17 +08:00
|
|
|
pkgrel=2
|
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')
|
2018-01-26 04:44:11 +08:00
|
|
|
depends=(kiconthemes kdbusaddons kcrash)
|
2018-03-10 04:58:01 +08:00
|
|
|
makedepends=(extra-cmake-modules kdoctools python)
|
2016-10-01 03:01:02 +08:00
|
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PVersion}.tar.xz"{,.sig})
|
|
|
|
sha256sums=( $(getSum ${_pkgname})
|
|
|
|
'SKIP' )
|
2017-08-10 17:46:06 +08:00
|
|
|
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
|
|
|
|
}
|