1 # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
2 # Contributor: noonov <noonov@gmail.com>
7 pkgdesc="A debugger for zsh scripts."
9 url="http://bashdb.sourceforge.net/"
18 _gitroot="git://github.com/rocky/zshdb.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
39 ./autogen.sh --prefix=/usr
44 cd "$srcdir/$_gitname-build"
45 make DESTDIR=$pkgdir install