aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/hub/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/hub/APKBUILD b/testing/hub/APKBUILD
index c0a0ccbf8a..00bbd88ae5 100644
--- a/testing/hub/APKBUILD
+++ b/testing/hub/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=hub
pkgver=2.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="Extends git with extra features for GitHub"
url="http://hub.github.com/"
arch="all"
@@ -31,6 +31,11 @@ build() {
./script/build
}
+check() {
+ cd "$builddir"
+ go test ./...
+}
+
package() {
cd "$builddir"
install -Dm755 bin/$pkgname "$pkgdir/usr/bin/$pkgname"