author | Alexander Rødseth
<xyproto@archlinux.org> 2016-07-29 17:33:44 UTC |
committer | Alexander Rødseth
<xyproto@archlinux.org> 2016-07-29 17:33:44 UTC |
parent | 24856da3f7809c7b96b3de54acfe0e6c6089ef84 |
PKGBUILD | +4 | -4 |
diff --git a/PKGBUILD b/PKGBUILD index 753d479..f00e94c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -11,7 +11,7 @@ pkgname=('go' 'go-tools') pkgver=1.6.3 -pkgrel=1 +pkgrel=2 epoch=2 arch=('x86_64' 'i686') url='http://golang.org/' @@ -68,7 +68,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 @@ -144,7 +144,7 @@ package_go() { install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION" - # For the doc command + # For godoc command install -Dm644 favicon.ico "$pkgdir/usr/lib/go/favicon.ico" # Clean Windows specific files. @@ -158,7 +158,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