mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/go to 1.6.2-2
This commit is contained in:
parent
f141bf1fc8
commit
9f03ee9b44
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue