[arch-commits] Commit in hub/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Fri Jul 13 04:17:59 UTC 2018
Date: Friday, July 13, 2018 @ 04:17:59
Author: eschwartz
Revision: 358391
archrelease: copy trunk to community-x86_64
Added:
hub/repos/community-x86_64/PKGBUILD
(from rev 358390, hub/trunk/PKGBUILD)
Deleted:
hub/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 50 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-13 04:17:31 UTC (rev 358390)
+++ PKGBUILD 2018-07-13 04:17:59 UTC (rev 358391)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
-
-pkgname=hub
-pkgver=2.4.0
-pkgrel=1
-
-pkgdesc="cli interface for Github"
-url="https://hub.github.com"
-arch=('x86_64')
-license=('MIT')
-
-depends=('git')
-makedepends=('go-pie' 'ruby' 'ruby-bundler')
-
-source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
-sha256sums=('894eb112be9aa0464fa2c63f48ae8e573ef9e32a00bad700e27fd09a0cb3be4b')
-
-build() {
- cd hub-$pkgver
-
- make
-}
-
-# Fails with weird 'loadinternal' errors, needs more investigation.
-#check() {
-# cd hub-$pkgver
-#
-# make test
-#}
-
-package() {
- cd hub-$pkgver
-
- make PREFIX="$pkgdir"/usr install
-
- 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
-}
Copied: hub/repos/community-x86_64/PKGBUILD (from rev 358390, hub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-13 04:17:59 UTC (rev 358391)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
+
+pkgname=hub
+pkgver=2.4.0
+pkgrel=2
+
+pkgdesc="cli interface for Github"
+url="https://hub.github.com"
+arch=('x86_64')
+license=('MIT')
+
+depends=('git')
+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.
+#check() {
+# cd hub-$pkgver
+#
+# make test
+#}
+
+package() {
+ cd hub-$pkgver
+
+ make PREFIX="$pkgdir"/usr install
+
+ 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