1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
6 pkgdesc="A gdb GUI for KDE (git version)"
8 depends=('kdelibs' 'gdb')
9 makedepends=('cmake' 'automoc4' 'git')
10 url="http://www.kdbg.org"
14 _gitroot="git://repo.or.cz/kdbg.git"
18 msg "Connecting to kdbg GIT server...."
20 if [ -d $srcdir/$_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 # Cleanup and prepare the build dir
31 rm -rf $srcdir/$_gitname-build
32 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
34 cd $srcdir/$_gitname-build
36 cmake -DCMAKE_BUILD_TYPE=Release \
37 -DCMAKE_INSTALL_PREFIX=/usr .
42 cd $srcdir/$_gitname-build
44 make DESTDIR="$pkgdir" install