1 # Contributor : Martin Lee <hellnest.fuah@gmail.com>
6 pkgdesc="Colibri provides an alternative to KDE4 Plasma notifications, git
9 url="http://gitorious.org/colibri"
10 provides=('notification-daemon')
13 depends=('kdebase-workspace>=4.4')
14 makedepends=('gcc' 'cmake' 'automoc4')
15 install=colibri.install
16 _gitroot=git://gitorious.org/colibri/colibri.git
21 msg "Connecting to GIT server...."
23 if [ -d ${srcdir}/$_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "Local copy is up to date"
30 msg "GIT Checkout Done"
32 rm -rf $_gitname-build
33 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
35 cd $srcdir/$_gitname-build
37 mkdir build && cd build
38 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../ || return 1
39 make DESTDIR="$pkgdir/" install || return 1