[arch-commits] Commit in autojump/trunk (PKGBUILD)
Xyne
xyne at nymeria.archlinux.org
Tue May 7 23:13:39 UTC 2013
Date: Wednesday, May 8, 2013 @ 01:13:39
Author: xyne
Revision: 90172
upgpkg: autojump 21.5.8-1
Upstream updated, submitted by graysky.
Modified:
autojump/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-07 22:21:14 UTC (rev 90171)
+++ PKGBUILD 2013-05-07 23:13:39 UTC (rev 90172)
@@ -1,26 +1,26 @@
-# $Id$
# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: graysky <graysky AT archlnux DOT us>
# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
# Contributor: Joël Schaerer <joel.schaerer at laposte.net>
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=autojump
-pkgver=21.0.3
+pkgver=21.5.8
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=('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=('d4d44e8413773f0d67d41f37bb02e9082de9e61275b3222dfa6be01a86ff50be')
+depends=('python')
+source=(https://github.com/joelthelion/${pkgname}/archive/release-v${pkgver}.tar.gz)
+sha256sums=('4e18585aac319da1c900f0f022a4fe8ce3e21257d440c034d7abf29ed42d4e1e')
+prepare() {
+ sed -i "s:/env python:/python3:g" ${pkgname}-release-v${pkgver}/bin/${pkgname}
+}
+
package() {
- cd ${pkgname}_v${pkgver}
-
- sed -i "s:/env python:/python3:g" bin/$pkgname
-
- ./install.sh --local --prefix ${pkgdir}/usr
+ cd ${pkgname}-release-v${pkgver}
+ ./install.sh --global --destdir "${pkgdir}"
+ rm "$pkgdir"/_j
}
More information about the arch-commits
mailing list