core/polkit-kde-agent-frameworks/PKGBUILD
Neophytos Kolokotronis 2f0b6dc14f plasma5: PKGBUILD fixes
2015-02-24 21:26:37 +00:00

35 lines
888 B
Bash

# 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
}