# $Id$ # Maintainer: Jaroslav Lichtblau # Contributor: Geoffroy Carrier # Contributor: Joël Schaerer # Contributor: Daniel J Griffiths pkgname=autojump pkgver=21.1.2 pkgrel=1 pkgdesc="A faster way to navigate your filesystem from the command line" arch=('any') url="http://wiki.github.com/joelthelion/autojump" license=('GPL3') depends=('bash' 'python') optdepends=('python2: needed for jumpapplet') install=$pkgname.install source=(https://github.com/downloads/joelthelion/${pkgname}/${pkgname}_v${pkgver}.tar.gz) sha256sums=('c9590cd4b3ac2c767f28707a0fe3add701f653bee15826dcc4a3eefa4718f339') package() { cd ${pkgname}_v${pkgver} sed -i "s:/env python:/python3:g" bin/$pkgname ./install.sh --local --prefix ${pkgdir}/usr install -Dm644 bin/icon.png ${pkgdir}/usr/share/autojump/icon.png install -Dm755 bin/jumpapplet ${pkgdir}/usr/bin/jumpapplet install -Dm755 bin/autojump ${pkgdir}/usr/bin/autojump install -Dm644 docs/autojump.1 ${pkgdir}/usr/share/man/man1/autojump.1 install -Dm755 bin/autojump.bash ${pkgdir}/etc/profile.d/autojump.bash install -Dm755 bin/autojump.sh ${pkgdir}/etc/profile.d/autojump.sh install -Dm755 bin/autojump.zsh ${pkgdir}/etc/profile.d/autojump.zsh install -Dm644 bin/_j ${pkgdir}/usr/share/zsh/site-functions/_j }