community/go to 1.6.3-1

This commit is contained in:
Kevin Mihelich 2016-07-22 00:24:54 +00:00
parent d98dbfeec1
commit bc07025afb

View file

@ -14,8 +14,8 @@
# - added switches for our architectures
pkgname=('go' 'go-tools')
pkgver=1.6.2
pkgrel=2
pkgver=1.6.3
pkgrel=1
epoch=2
arch=('arm' 'armv6h' 'armv7h' 'aarch64')
url='http://golang.org/'
@ -45,7 +45,7 @@ build() {
bash make.bash --no-clean
# System-wide tools
for tool in godex godoc goimports gomvpkg gorename gotype; do
for tool in godex goimports gomvpkg gorename gotype; do
$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
$GOROOT/bin/go build -v -x -o $GOPATH/bin/$tool $_gourl/$tool
done
@ -71,7 +71,7 @@ check() {
export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
export GOROOT_BOOTSTRAP=/usr/lib/go
for tool in godoc goimports gomvpkg gorename gotype \
for tool in goimports gomvpkg gorename gotype \
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
@ -86,7 +86,7 @@ package_go() {
'git: for fetching sources from git repositories'
'bzr: for fetching sources from bazaar repositories'
'subversion: for fetching sources from subversion repositories'
'go-tools: godoc, goimports, gorename, and other tools.')
'go-tools: doc, goimports, gorename, and other tools.')
cd "$pkgname-$pkgver"
export GOROOT="$srcdir/$pkgname-$pkgver"
@ -113,7 +113,7 @@ package_go() {
install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
install="$pkgname.install"
# For godoc
# For the doc command
install -Dm644 favicon.ico "$pkgdir/usr/lib/go/favicon.ico"
# Clean Windows specific files.
@ -121,7 +121,7 @@ package_go() {
}
package_go-tools() {
pkgdesc='Developer tools for the Go programming language (includes godoc)'
pkgdesc='Developer tools for the Go programming language'
depends=('go>2:1.5.3-1')
GOOS=linux