# $Id$ # Maintainer: Ivailo Monev pkgname=polkit-katana-agent pkgver=4.16.0.41bd5bc pkgrel=1 pkgdesc="Daemon providing a polkit authentication UI for Katana" arch=('i686' 'x86_64') url='http://fluxer.github.io/katana/' license=('GPL') groups=('katana') depends=('katanalibs' 'polkit-qt4') source=("git+https://github.com/fluxer/kde-playground.git") sha1sums=('SKIP') conflicts=('polkit-kde-agent') options=('debug') pkgver() { cd kde-playground printf "4.16.0.%s" "$(git rev-parse --short HEAD)" } prepare() { mkdir -p build } build() { cd build export PATH="/usr/lib/qt4/bin:$PATH" cmake ../kde-playground/polkit-kde-agent \ -DCMAKE_BUILD_TYPE=RelWithDbgInfo \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}/build" make DESTDIR="${pkgdir}" install }