[arch-commits] Commit in autojump/repos/community-any (PKGBUILD PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Mon Feb 8 07:55:59 UTC 2016


    Date: Monday, February 8, 2016 @ 08:55:58
  Author: jlichtblau
Revision: 160871

archrelease: copy trunk to community-any

Added:
  autojump/repos/community-any/PKGBUILD
    (from rev 160870, autojump/trunk/PKGBUILD)
Deleted:
  autojump/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-08 07:55:48 UTC (rev 160870)
+++ PKGBUILD	2016-02-08 07:55:58 UTC (rev 160871)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <svetlemodry at 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=22.2.4
-pkgrel=3
-pkgdesc="A faster way to navigate your filesystem from the command line"
-arch=('any')
-url="http://wiki.github.com/joelthelion/autojump"
-license=('GPL3')
-depends=('python')
-source=(https://github.com/joelthelion/${pkgname}/archive/release-v${pkgver}.tar.gz)
-sha256sums=('816badb0721f735e2b86bdfa8b333112f3867343c7c2263c569f75b4ec91f475')
-
-prepare() {
-  sed -i "s:/env python:/python3:g" ${pkgname}-release-v${pkgver}/bin/${pkgname}
-}
-
-package() {
-  cd ${pkgname}-release-v${pkgver}
-
-  ./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
-  done
-
-#https://github.com/joelthelion/autojump/pull/339
-  sed -i "s:/usr/local/:/usr/:g" "${pkgdir}"/etc/profile.d/$pkgname.sh
-  sed -i "s:/build/autojump/pkg/autojump/:/:g" "${pkgdir}"/etc/profile.d/$pkgname.sh
-#FS#43762
-  sed -i '27,31d' "${pkgdir}"/etc/profile.d/$pkgname.sh
-}

Copied: autojump/repos/community-any/PKGBUILD (from rev 160870, autojump/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-02-08 07:55:58 UTC (rev 160871)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at 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=22.3.0
+pkgrel=1
+pkgdesc="A faster way to navigate your filesystem from the command line"
+arch=('any')
+url="https://github.com/wting/autojump"
+license=('GPL3')
+depends=('python')
+source=($pkgname-$pkgver.tar.gz::https://github.com/wting/$pkgname/archive/release-v$pkgver.tar.gz)
+sha256sums=('800f444b820b3a985e1da2d183fb5e2e23753a2ade53d6e1195678c650379a03')
+
+prepare() {
+  cd $pkgname-release-v$pkgver
+  sed -i "s:/env python:/python3:g" bin/$pkgname
+}
+
+package() {
+  cd $pkgname-release-v$pkgver
+
+  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
+  done
+
+#https://github.com/joelthelion/autojump/pull/339
+  sed -i "s:/usr/local/:/usr/:g" "${pkgdir}"/etc/profile.d/$pkgname.sh
+  sed -i "s:/build/autojump/pkg/autojump/:/:g" "${pkgdir}"/etc/profile.d/$pkgname.sh
+#FS#43762
+  sed -i '27,31d' "${pkgdir}"/etc/profile.d/$pkgname.sh
+}



More information about the arch-commits mailing list