1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 pkgname=kdevelop-extra-plugins-custom-buildsystem-git
5 pkgdesc="A plugin to be able to use projects that use a buildsystem not currently supported by KDevelop."
7 url="http://www.kdevelop.org/"
9 depends=('kdevelop-git')
10 makedepends=('cmake' 'automoc4' 'git')
14 _gitroot="git://anongit.kde.org/kdev-custom-buildsystem"
15 _gitname="custom-buildsystem"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 mkdir -p "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
35 -DCMAKE_INSTALL_PREFIX=/usr
40 cd "$srcdir/$_gitname-build"
42 make DESTDIR="$pkgdir" install