mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-25 19:32:48 +00:00
41 lines
969 B
Bash
41 lines
969 B
Bash
# $Id$
|
|
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
|
|
|
|
pkgname=polkit-katana-agent
|
|
pkgver=4.16.0.b849505
|
|
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')
|
|
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
|
|
}
|