mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-26 11:52:47 +00:00
42 lines
948 B
Text
42 lines
948 B
Text
![]() |
# $Id$
|
||
|
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
|
||
|
|
||
|
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=('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
|
||
|
}
|