1 # Contributor: Marvn <mistrmarvn@gmail.com>
3 pkgname=wicd-client-kde-git
6 pkgdesc="Wicd client build on the KDE Development Platform"
8 url="http://kde-apps.org/content/show.php/Wicd+Client+KDE?content=132366"
10 depends=('kdelibs' 'qt' 'wicd')
11 makedepends=('cmake' 'git')
12 conflicts=('wicd-client-kde')
13 _gitroot="git://gitorious.org/wicd-client-kde/wicd-client-kde.git"
14 _gitname="wicd-client-kde"
17 msg "Connecting to GIT server...."
25 msg "Local files have been updated."
30 msg "GIT checkout done or server timeout"
32 rm -rf $_gitname-build
33 git clone $_gitname $_gitname-build
35 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DPYTHONBIN=python2 . || return 1
42 cd ${srcdir}/$_gitname-build || return 1
43 make DESTDIR=${pkgdir} install || return 1