1 # Contributor: Marius Dransfeld <marius.dransfeld@googlemail.com>
5 pkgdesc="All-purpose notes taker for KDE - git version."
7 url="http://gitorious.org/basket"
10 depends=('kdelibs>=4.4' 'qimageblitz' 'gpgme')
11 makedepends=('cmake>=2.6.2' 'automoc4' 'git')
16 _gitroot="git://gitorious.org/basket/basket.git"
21 msg "Connecting to the GIT server...."
23 if [[ -d $srcdir/$_gitname ]] ; then
26 msg "The local files are updated."
31 msg "GIT checkout done"
32 msg "Starting make..."
34 rm -rf $srcdir/$_gitname-build
35 mkdir $srcdir/$_gitname-build
36 cd $srcdir/$_gitname-build
38 cmake -DCMAKE_INSTALL_PREFIX=$( kde4-config --prefix ) -DCMAKE_BUILD_TYPE=Release ../$_gitname || return 1
41 make DESTDIR=$startdir/pkg install || return 1