1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 pkgname=path64-debugger-git
5 pkgdesc="PathScale debugger"
7 url="http://www.path64.org/"
9 depends=('gcc-libs' 'ncurses')
14 _gitroot="git://github.com/path64/debugger.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 if [ -e "$srcdir/$_gitname-build" ]; then
32 rm -rf "$srcdir/$_gitname-build"
35 mkdir -p "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
38 cmake -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/$_gitname"
43 cd "$srcdir/$_gitname-build"
44 make DESTDIR="$pkgdir/" install