katana/packaging/archlinux/polkit-katana-agent/PKGBUILD

42 lines
959 B
Text
Raw Normal View History

2015-06-13 16:08:35 +03:00
# $Id$
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
pkgname=polkit-katana-agent
pkgver=4.17.0.d6419d5
2015-06-13 16:08:35 +03:00
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>=4.16.0' 'polkit-qt4')
2015-06-15 22:18:35 +03:00
makedepends=('cmake' 'git')
2015-06-13 16:08:35 +03:00
source=("git+https://github.com/fluxer/kde-playground.git")
sha1sums=('SKIP')
conflicts=('polkit-kde-agent')
options=('debug')
pkgver() {
cd kde-playground
2015-08-30 20:23:07 +03:00
printf "4.17.0.%s" "$(git rev-parse --short HEAD)"
2015-06-13 16:08:35 +03:00
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../kde-playground/polkit-kde-agent \
-DCMAKE_BUILD_TYPE=RelWithDbgInfo \
2015-09-06 16:22:55 +03:00
-DENABLE_TESTING=OFF \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
2015-06-13 16:08:35 +03:00
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}