[arch-commits] Commit in autojump/trunk (PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Feb 8 07:55:48 UTC 2016
Date: Monday, February 8, 2016 @ 08:55:48
Author: jlichtblau
Revision: 160870
upgpkg: autojump 22.3.0-1 - new upstream release
Modified:
autojump/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-08 07:51:18 UTC (rev 160869)
+++ PKGBUILD 2016-02-08 07:55:48 UTC (rev 160870)
@@ -6,29 +6,31 @@
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=autojump
-pkgver=22.2.4
-pkgrel=3
+pkgver=22.3.0
+pkgrel=1
pkgdesc="A faster way to navigate your filesystem from the command line"
arch=('any')
-url="http://wiki.github.com/joelthelion/autojump"
+url="https://github.com/wting/autojump"
license=('GPL3')
depends=('python')
-source=(https://github.com/joelthelion/${pkgname}/archive/release-v${pkgver}.tar.gz)
-sha256sums=('816badb0721f735e2b86bdfa8b333112f3867343c7c2263c569f75b4ec91f475')
+source=($pkgname-$pkgver.tar.gz::https://github.com/wting/$pkgname/archive/release-v$pkgver.tar.gz)
+sha256sums=('800f444b820b3a985e1da2d183fb5e2e23753a2ade53d6e1195678c650379a03')
prepare() {
- sed -i "s:/env python:/python3:g" ${pkgname}-release-v${pkgver}/bin/${pkgname}
+ cd $pkgname-release-v$pkgver
+ sed -i "s:/env python:/python3:g" bin/$pkgname
}
package() {
- cd ${pkgname}-release-v${pkgver}
+ cd $pkgname-release-v$pkgver
- ./install.py --destdir "${pkgdir}" --prefix 'usr/' --zshshare 'usr/share/zsh/site-functions'
+ SHELL=/bin/bash ./install.py --destdir "${pkgdir}" \
+ --prefix 'usr/' \
+ --zshshare 'usr/share/zsh/site-functions'
cd "${pkgdir}"/usr/share/$pkgname
for i in $pkgname.*
- do ln -s /usr/share/$pkgname/$i \
- "${pkgdir}"/etc/profile.d/$i
+ do ln -s /usr/share/$pkgname/$i "${pkgdir}"/etc/profile.d/$i
done
#https://github.com/joelthelion/autojump/pull/339
More information about the arch-commits
mailing list