1 # Maintainer: Vadim Bubnov <vadim@moinet.ru>
3 pkgname=dob-plasmoid-git
6 pkgdesc="Desktop OBserver plasmoid for kde 4.4"
9 url='http://wiki.github.com/bvadim/dob-plasmoid/'
11 depends=('kdebase-workspace')
12 makedepends=('git' 'pkgconfig' 'cmake' 'libxml2')
20 _gitroot="git://github.com/bvadim/dob-plasmoid.git"
21 _gitname="dob-plasmoid"
26 msg "Connecting to GIT server..."
27 if [ -d ${srcdir}/$_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf ${srcdir}/$_gitname-build
38 mkdir ${srcdir}/$_gitname-build
39 cd ${srcdir}/$_gitname-build
40 cmake ${srcdir}/$_gitname -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
46 cd ${srcdir}/$_gitname-build
47 make DESTDIR=$pkgdir install