[arch-commits] Commit in hub/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Fri Feb 1 00:45:58 UTC 2019


    Date: Friday, February 1, 2019 @ 00:45:57
  Author: eschwartz
Revision: 428977

upgpkg: hub 2.8.4-1

upstream release
enable testsuite as it currently passes
upstream migrated from ruby-ronn to internal golang formatter

Modified:
  hub/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-01 00:41:25 UTC (rev 428976)
+++ PKGBUILD	2019-02-01 00:45:57 UTC (rev 428977)
@@ -4,8 +4,8 @@
 # Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
 
 pkgname=hub
-pkgver=2.7.1
-pkgrel=2
+pkgver=2.8.4
+pkgrel=1
 
 pkgdesc="cli interface for Github"
 url="https://hub.github.com"
@@ -13,32 +13,30 @@
 license=('MIT')
 
 depends=('git')
-makedepends=('go-pie' 'ruby-ronn')
+makedepends=('go-pie')
 
 source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
-sha256sums=('83fac8b47b2f56da1e7366688df4bd0eeb5fa20bde5d3de39792ea1cc1d15cd4')
+sha256sums=('0aa1342ac5701dc9b7e787ad69640ede06fc84cbe88fb63440b81aca4d4b6273')
 
 prepare() {
   mkdir -p src/github.com/github
   cp -r hub-$pkgver src/github.com/github/hub
-
-  sed -i 's at .man-pages.stamp: bin/ronn at .man-pages.stamp:@;s at bin/ronn at ronn@' src/github.com/github/hub/Makefile
 }
 
 build() {
   cd src/github.com/github/hub
 
-  GOPATH="$srcdir" make
+  export 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
-#}
+check() {
+  cd src/github.com/github/hub
 
+  GOPATH="$srcdir" make test
+}
+
 package() {
   cd src/github.com/github/hub
 



More information about the arch-commits mailing list