aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-08-01 12:37:44 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-08-01 12:37:44 +0000
commit3bbb18c13ad2265c180a5a581f283fcae3c31351 (patch)
tree5205255c0960e5cdc8650c95ca8f602aedb9fba5
parent974f26dfb151d64905037a1f91516acef1d68f0f (diff)
downloadaports-3bbb18c13ad2265c180a5a581f283fcae3c31351.tar.bz2
aports-3bbb18c13ad2265c180a5a581f283fcae3c31351.tar.xz
testing/hub: upgrade to 2.5.0
-rw-r--r--testing/hub/APKBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/testing/hub/APKBUILD b/testing/hub/APKBUILD
index b24be38627..c0a0ccbf8a 100644
--- a/testing/hub/APKBUILD
+++ b/testing/hub/APKBUILD
@@ -2,13 +2,13 @@
# Contributor: Eivind Uggedal <eivind@uggedal.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=hub
-pkgver=2.4.0
+pkgver=2.5.0
pkgrel=0
pkgdesc="Extends git with extra features for GitHub"
url="http://hub.github.com/"
arch="all"
license="MIT"
-makedepends="go bash"
+makedepends="go dep bash"
options="!strip"
subpackages="
$pkgname-doc
@@ -16,10 +16,18 @@ subpackages="
$pkgname-zsh-completion:zshcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/src/github.com/hub/$pkgname"
+
+prepare() {
+ mkdir -p ${builddir%/*}
+ mv "$srcdir"/$pkgname-$pkgver "$builddir"/
+ default_prepare
+}
build() {
cd "$builddir"
+ export GOPATH="$srcdir"
+ dep ensure -v
./script/build
}
@@ -47,4 +55,4 @@ zshcomp() {
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
}
-sha512sums="302a508b7353ed96f969d399d87cd395b5561490c41f46043969a49eaa997a63d2649b3f6f23a565f1b8c821f93c4db1b8c7104c85d0b08fc6d96f03e765f2f7 hub-2.4.0.tar.gz"
+sha512sums="100e9695ef0bc0f9ea0decdc22d01696f520d741529c1591bbd10d49e9ba14455a12c60343aefb3af619b5dded7a53574c0b2b111005fb045637bc95fb52a4cb hub-2.5.0.tar.gz"