community/go to 1.6.2-2

This commit is contained in:
Kevin Mihelich 2016-05-07 12:43:48 +00:00
parent f141bf1fc8
commit 9f03ee9b44

View file

@ -15,7 +15,7 @@
pkgname=('go' 'go-tools')
pkgver=1.6.2
pkgrel=1
pkgrel=2
epoch=2
arch=('arm' 'armv6h' 'armv7h' 'aarch64')
url='http://golang.org/'
@ -51,7 +51,7 @@ build() {
done
# Distribution tools
for tool in benchcmp bundle callgraph digraph eg fiximports html2article oracle present ssadump stress stringer ; do
for tool in benchcmp bundle callgraph digraph eg fiximports guru html2article oracle present ssadump stress stringer ; do
$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool golang.org/x/tools/cmd/$tool
done
@ -71,9 +71,8 @@ check() {
export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
export GOROOT_BOOTSTRAP=/usr/lib/go
# bundle does not compile with 1.6
for tool in godoc goimports gomvpkg gorename gotype \
benchcmp callgraph digraph eg fiximports html2article oracle present ssadump stress stringer; do
benchcmp bundle callgraph digraph eg fiximports guru html2article oracle present ssadump stress stringer; do
GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
done