1 # Maintainer: Patrick Palka <patrick@parcs.ath.cx>
2 # Development: http://closure.ath.cx/aur-dev
7 pkgdesc="z keeps track of where you've been and provides a convenient \
8 way to jump to directory that you actually use (git version)"
9 url="http://github.com/rupa/z"
15 _gitroot="git://github.com/rupa/z.git"
19 msg "Connecting to $_gitname repository..."
20 if [ -d "$_gitname" ]; then
21 cd "$_gitname" && git pull origin
22 msg "The local files are updated."
24 git clone --depth 1 "$_gitroot" && cd "$_gitname"
27 install -vDm755 z.sh "$pkgdir/etc/profile.d/z.sh"
28 install -vDm644 z.1 "$pkgdir/usr/share/man/man1/z.1"