[arch-commits] Commit in hub/repos/community-x86_64 (PKGBUILD PKGBUILD)

Johannes Löthberg demize at archlinux.org
Mon Jul 23 16:35:55 UTC 2018


    Date: Monday, July 23, 2018 @ 16:35:54
  Author: demize
Revision: 363156

archrelease: copy trunk to community-x86_64

Added:
  hub/repos/community-x86_64/PKGBUILD
    (from rev 363155, hub/trunk/PKGBUILD)
Deleted:
  hub/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-23 16:35:48 UTC (rev 363155)
+++ PKGBUILD	2018-07-23 16:35:54 UTC (rev 363156)
@@ -1,50 +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=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
-}

Copied: hub/repos/community-x86_64/PKGBUILD (from rev 363155, hub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-23 16:35:54 UTC (rev 363156)
@@ -0,0 +1,51 @@
+# $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.5.0
+pkgrel=1
+
+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=('8e3bda092ddc81eaf208c5fd2b87f66e030012129d55fa631635c6adf8437941')
+
+prepare() {
+  mkdir -p src/github.com/github
+  cp -r hub-$pkgver src/github.com/github/hub
+
+  sed -i 's at 1.ronn bin/ronn at 1.ronn@;s at bin/ronn at ronn@' src/github.com/github/hub/Makefile
+}
+
+build() {
+  cd src/github.com/github/hub
+
+  GOPATH="$srcdir" make
+  make man-pages
+}
+
+# Fails with weird 'loadinternal' errors, needs more investigation.
+#check() {
+#  cd src/github.com/github/hub
+#
+#  GOPATH="$srcdir" make test
+#}
+
+package() {
+  cd src/github.com/github/hub
+
+  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