summaryrefslogtreecommitdiff
path: root/community/go
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-07 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-08-07 23:14:33 +0000
commit0f9e4ba23bb6296d8bb8010f70d868fd08db9c54 (patch)
treeddd4394d1c62e9831f05238ff56a70da01f6c5c0 /community/go
parent7f2d7bd11daf0c654d4147cb91f9913bc587c276 (diff)
Sun Aug 7 23:14:33 UTC 2011
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 844e2fd2c..6221c2218 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"