Date: Monday, July 23, 2018 @ 16:35:44 Author: demize Revision: 363154
upgpkg: hub 2.5.0-1 Modified: hub/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-07-23 16:35:42 UTC (rev 363153) +++ PKGBUILD 2018-07-23 16:35:44 UTC (rev 363154) @@ -4,8 +4,8 @@ # Contributor: Alfredo Palhares <masterk...@masterkorp.net> pkgname=hub -pkgver=2.4.0 -pkgrel=2 +pkgver=2.5.0 +pkgrel=1 pkgdesc="cli interface for Github" url="https://hub.github.com" @@ -16,30 +16,31 @@ makedepends=('go-pie' 'ruby-ronn') source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz") -sha256sums=('894eb112be9aa0464fa2c63f48ae8e573ef9e32a00bad700e27fd09a0cb3be4b') +sha256sums=('8e3bda092ddc81eaf208c5fd2b87f66e030012129d55fa631635c6adf8437941') prepare() { - cd hub-$pkgver + mkdir -p src/github.com/github + cp -r hub-$pkgver src/github.com/github/hub - sed -i 's...@1.ronn bin/r...@1.ronn@;s@bin/ronn@ronn@' Makefile + sed -i 's...@1.ronn bin/r...@1.ronn@;s@bin/ronn@ronn@' src/github.com/github/hub/Makefile } build() { - cd hub-$pkgver + cd src/github.com/github/hub - make + GOPATH="$srcdir" make make man-pages } # Fails with weird 'loadinternal' errors, needs more investigation. #check() { -# cd hub-$pkgver +# cd src/github.com/github/hub # -# make test +# GOPATH="$srcdir" make test #} package() { - cd hub-$pkgver + cd src/github.com/github/hub make PREFIX="$pkgdir"/usr install