1 pkgname=libqzeitgeist-git
4 pkgdesc="A Qt interface to the Zeitgeist event tracking system"
5 url="https://projects.kde.org/projects/kdesupport/libqzeitgeist"
9 makedepends=('git' 'cmake' 'zeitgeist')
10 conflicts=('libqzeitgeist')
11 provides=('libqzeitgeist')
14 _gitroot="git://anongit.kde.org/libqzeitgeist"
15 _gitname="libqzeitgeist"
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
35 git clone $srcdir/$_gitname $srcdir/build
36 sed -i -e "s|env python|env python2|" $srcdir/build/scripts/onto2cpp.py
37 mkdir $srcdir/build/build
38 cd $srcdir/build/build
39 cmake ../ -DCMAKE_BUILD_TYPE=debugfull \
40 -DCMAKE_INSTALL_PREFIX=/usr
45 cd ${srcdir}/build/build
46 make DESTDIR=${pkgdir} install