[arch-commits] Commit in autojump/repos/community-any (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Apr 8 19:20:20 UTC 2019
Date: Monday, April 8, 2019 @ 19:20:19
Author: jlichtblau
Revision: 450448
archrelease: copy trunk to community-any
Added:
autojump/repos/community-any/PKGBUILD
(from rev 450447, autojump/trunk/PKGBUILD)
Deleted:
autojump/repos/community-any/PKGBUILD
----------+
PKGBUILD | 89 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 46 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-08 19:20:07 UTC (rev 450447)
+++ PKGBUILD 2019-04-08 19:20:19 UTC (rev 450448)
@@ -1,43 +0,0 @@
-# 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.5.1
-pkgrel=2
-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=('765fabda130eb4df70d1c1e5bc172e1d18f8ec22c6b89ff98f1674335292e99f')
-
-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
-#FS#49601
- install -d "${pkgdir}"/usr/share/fish/completions
- mv "${pkgdir}"/etc/profile.d/$pkgname.fish "${pkgdir}"/usr/share/fish/completions
-
-#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 450447, autojump/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-08 19:20:19 UTC (rev 450448)
@@ -0,0 +1,46 @@
+# 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.5.3
+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=('00daf3698e17ac3ac788d529877c03ee80c3790472a85d0ed063ac3a354c37b1')
+
+prepare() {
+ cd $pkgname-release-v$pkgver
+ sed -i "s:/env python:/python3:g" bin/$pkgname
+
+ python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+ python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}
+
+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
+#FS#49601
+ install -d "${pkgdir}"/usr/share/fish/completions
+ mv "${pkgdir}"/etc/profile.d/$pkgname.fish "${pkgdir}"/usr/share/fish/completions
+
+#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