1 # Contributor: Max Resch <resch.max@gmail.com>
3 pkgname=polkit-kde-kcmodules
6 pkgdesc="Configuration for Policy Kit"
8 url="https://projects.kde.org/projects/extragear/base/polkit-kde-kcmodules-1"
10 depends=('polkit-kde')
11 makedepends=('cmake' 'automoc4' 'git')
13 _gitroot="git://anongit.kde.org/polkit-kde-kcmodules-1"
14 _gitname="polkit-kde-kcmodules-1"
18 msg "Connecting to GIT server..."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 mkdir -p "$srcdir/build"
33 cmake ../${_gitname} \
34 -DCMAKE_INSTALL_PREFIX=/usr \
35 -DCMAKE_BUILD_TYPE=Release
41 make DESTDIR=${pkgdir} install