|
|
@ -1,10 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
# See http://wiki.archlinux.org/index.php/Arch_CVS_&_SVN_PKGBUILD_guidelines
|
|
|
|
|
|
|
|
# for more information on packaging from GIT sources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Contributor: Joël Schaerer <joel.schaerer@laposte.net>
|
|
|
|
# Contributor: Joël Schaerer <joel.schaerer@laposte.net>
|
|
|
|
pkgname=autojump
|
|
|
|
pkgname=autojump
|
|
|
|
pkgver=VERSION
|
|
|
|
pkgver=20090210
|
|
|
|
pkgrel=1
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A faster way to navigate your filesystem from the command line"
|
|
|
|
pkgdesc="A faster way to navigate your filesystem from the command line"
|
|
|
|
arch=(i686)
|
|
|
|
arch=(i686)
|
|
|
@ -12,6 +8,7 @@ url="http://wiki.github.com/joelthelion/autojump"
|
|
|
|
license=('GPL')
|
|
|
|
license=('GPL')
|
|
|
|
depends=('bash' 'python')
|
|
|
|
depends=('bash' 'python')
|
|
|
|
md5sums=() #generate with 'makepkg -g'
|
|
|
|
md5sums=() #generate with 'makepkg -g'
|
|
|
|
|
|
|
|
install=(autojump.install)
|
|
|
|
|
|
|
|
|
|
|
|
_gitroot="git://github.com/joelthelion/autojump.git"
|
|
|
|
_gitroot="git://github.com/joelthelion/autojump.git"
|
|
|
|
_gitname="autojump"
|
|
|
|
_gitname="autojump"
|
|
|
@ -24,10 +21,12 @@ build() {
|
|
|
|
cd $_gitname && git pull origin || return 1
|
|
|
|
cd $_gitname && git pull origin || return 1
|
|
|
|
msg "The local files are updated."
|
|
|
|
msg "The local files are updated."
|
|
|
|
else
|
|
|
|
else
|
|
|
|
git clone $_gitroot || return 1
|
|
|
|
git clone $_gitroot && cd $_gitname || return 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
gzip -f autojump.1
|
|
|
|
|
|
|
|
|
|
|
|
msg "GIT checkout done"
|
|
|
|
msg "GIT checkout done"
|
|
|
|
install -Dm 755 autojump ${pkgdir}/usr/bin/autojump
|
|
|
|
install -Dm 755 autojump ${pkgdir}/usr/bin/autojump
|
|
|
|
install -Dm 755 autojump.sh ${pkgdir}/etc/profile.d/autojump.sh
|
|
|
|
install -Dm 755 autojump.sh ${pkgdir}/etc/profile.d/autojump.sh
|
|
|
|
|
|
|
|
install -Dm 644 autojump.1.gz ${pkgdir}/usr/share/man/man1/autojump.1.gz
|
|
|
|
}
|
|
|
|
}
|
|
|
|