[arch-commits] Commit in hub/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Fri Jul 13 04:17:32 UTC 2018
Date: Friday, July 13, 2018 @ 04:17:31
Author: eschwartz
Revision: 358390
upgpkg: hub 2.4.0-2
FS#58999 install fish completion
Modified:
hub/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-12 23:27:12 UTC (rev 358389)
+++ PKGBUILD 2018-07-13 04:17:31 UTC (rev 358390)
@@ -5,7 +5,7 @@
pkgname=hub
pkgver=2.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="cli interface for Github"
url="https://hub.github.com"
@@ -13,15 +13,22 @@
license=('MIT')
depends=('git')
-makedepends=('go-pie' 'ruby' 'ruby-bundler')
+makedepends=('go-pie' 'ruby-ronn')
source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
sha256sums=('894eb112be9aa0464fa2c63f48ae8e573ef9e32a00bad700e27fd09a0cb3be4b')
+prepare() {
+ cd hub-$pkgver
+
+ sed -i 's at 1.ronn bin/ronn at 1.ronn@;s at bin/ronn at ronn@' Makefile
+}
+
build() {
cd hub-$pkgver
make
+ make man-pages
}
# Fails with weird 'loadinternal' errors, needs more investigation.
@@ -39,4 +46,5 @@
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 etc/hub.bash_completion.sh "$pkgdir"/usr/share/bash-completion/completions/hub
install -Dm644 etc/hub.zsh_completion "$pkgdir"/usr/share/zsh/site-functions/_hub
+ install -Dm644 etc/hub.fish_completion "$pkgdir"/usr/share/fish/vendor_completions.d/hub.fish
}
More information about the arch-commits
mailing list