summaryrefslogtreecommitdiff
path: root/community/go
diff options
context:
space:
mode:
Diffstat (limited to 'community/go')
-rw-r--r--community/go/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD
index d062da154..c85dccd6c 100644
--- a/community/go/PKGBUILD
+++ b/community/go/PKGBUILD
@@ -5,7 +5,7 @@
# Contributor: Christian Himpel <chressie at gmail dot com>
pkgname=go
-pkgver=r58
+pkgver=r59
pkgrel=1
epoch=1
pkgdesc='Google Go compiler and tools (release version)'
@@ -53,6 +53,14 @@ build() {
. ./make.bash
}
+check() {
+ export GOROOT="$srcdir/$_hgrepo-build"
+ export GOOS=linux
+ export GOBIN="$GOROOT/bin"
+ cd "$GOROOT/src/pkg"
+ gomake -k test || true
+}
+
package() {
cd "$srcdir/release-build"