1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: mutlu_inek <mutlu_inek@yahoo.de>
7 pkgdesc="A humane address book for the cloud using new ways of visualizing address book data"
9 url="http://quickgit.kde.org/?p=scratch/cschumac/polka.git"
11 depends=('kdebase-runtime')
12 makedepends=('cmake' 'automoc4' 'git')
17 _gitroot="git://anongit.kde.org/scratch/cschumac/polka.git"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
38 cmake "$srcdir/$_gitname" \
39 -DCMAKE_BUILD_TYPE=Release \
40 -DCMAKE_INSTALL_PREFIX=/usr
45 cd "$srcdir/$_gitname-build"
46 make DESTDIR="$pkgdir/" install