community/go to 1.6.3-2

This commit is contained in:
Kevin Mihelich 2016-07-29 17:43:21 +00:00
parent 16fb33c599
commit f0fb74f1a3

View file

@ -15,7 +15,7 @@
pkgname=('go' 'go-tools')
pkgver=1.6.3
pkgrel=1
pkgrel=2
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 goimports gomvpkg gorename gotype; do
for tool in godex godoc 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
@ -113,7 +113,7 @@ package_go() {
install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
install="$pkgname.install"
# For the doc command
# For godoc 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'
pkgdesc='Developer tools for the Go programming language (includes godoc)'
depends=('go>2:1.5.3-1')
GOOS=linux