1 # Maintainer: Radu Andries <admiral0@tuxfamily.org>
2 pkgname=kdevelop-extra-plugins-qmake-git
5 pkgdesc="Qmake Projects for kdevelop. Experimental plugin"
6 arch=('i686' 'x86_64' 'arm')
7 url="http://projects.kde.org/projects/extragear/kdevelop/experimental/kdev-qmake"
9 depends=('kdevelop-git' 'kdevelop-pg-qt-git')
10 makedepends=('git' 'cmake')
12 _gitroot="git://anongit.kde.org/kdev-qmake"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 cd "$srcdir/$_gitname"
33 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
38 cd "$srcdir/$_gitname/build"
39 make DESTDIR="$pkgdir/" install
40 rm -rf "$pkgdir/usr/share/apps/kdevappwizard"