git » go-1.20.git » commit 9bbc508

go-tools: Add guru

author Pierre Neidhardt
2016-05-07 11:20:12 UTC
committer Pierre Neidhardt
2016-05-07 11:20:12 UTC
parent 9a5ac07f3cabb2880ea782e8d57a35c870fdc30e

go-tools: Add guru

PKGBUILD +3 -4

diff --git a/PKGBUILD b/PKGBUILD
index f3ad7e8..708c53b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@
 
 pkgname=('go' 'go-tools')
 pkgver=1.6.2
-pkgrel=1
+pkgrel=2
 epoch=2
 arch=('x86_64' 'i686')
 url='http://golang.org/'
@@ -74,7 +74,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
@@ -96,9 +96,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