1 # Contributor: Kamil Stachowski <kamil.stachowski@gmail.com>
6 pkgdesc="A continuation of semi clone of autojump"
7 url='http://github.com/rupa/z/tree/master'
18 install=z-jump.install
21 _gitroot='git://github.com/rupa/z.git'
24 msg "Connecting to Git server..."
25 if [ -d "$srcdir/$pkgname" ]; then
26 cd "$srcdir/$pkgname" && git pull origin || return 1
28 git clone "$_gitroot" || return 1
30 msg "Git checkout done or server timeout"
34 install -D -m644 "$srcdir/$_gitname/z.sh" "$pkgdir/usr/share/$pkgname/z.sh"
35 install -D -m644 "$srcdir/$_gitname/README" "$pkgdir/usr/share/$pkgname/README"