4 pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
6 url='http://www.kde.org'
8 depends=('polkit' 'qt')
9 makedepends=('cmake' 'automoc4' 'git')
10 conflicts=('polkit-qt')
11 provides=('polkit-qt')
14 _gitroot="git://anongit.kde.org/polkit-qt-1"
15 _gitname="polkit-qt-1"
19 msg "Connecting to the GIT server...."
21 if [[ -d $srcdir/$_gitname ]] ; then
24 msg "The local files are updated."
29 msg "GIT checkout done"
30 msg "Starting make..."
31 if [[ -d ${srcdir}/build ]]; then
32 msg "Cleaning the previous build directory..."
33 rm -rf ${srcdir}/build
37 cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=debugfull \
38 -DCMAKE_INSTALL_PREFIX=/usr
44 make DESTDIR=${pkgdir} install