mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/go to 1.6.3-2
This commit is contained in:
parent
16fb33c599
commit
f0fb74f1a3
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue