1 # Maintainer: Justin Gottula <justin@jgottula.com>
2 pkgname=kdebase-konsole-git
6 url='http://kde.org/applications/system/konsole/'
8 license=('GPL' 'LGPL' 'FDL')
9 groups=('kde' 'kdebase')
10 depends=('kdebase-runtime')
11 makedepends=('cmake' 'automoc4')
12 provides=('kdebase-konsole')
13 conflicts=('kdebase-konsole')
17 _gitroot="git://anongit.kde.org/konsole"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
38 cmake -DCMAKE_BUILD_TYPE=Release \
39 -DCMAKE_INSTALL_PREFIX=/usr
44 cd "${srcdir}/$_gitname-build"
45 make DESTDIR="${pkgdir}" install