[arch-commits] Commit in go/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Fri Mar 7 16:51:27 UTC 2014


    Date: Friday, March 7, 2014 @ 17:51:27
  Author: arodseth
Revision: 106788

Only packaging godoc, vet and lint for x86_64. Suggestions for how to make it work for i686 as well are warmly welcome (try also with go-hg from AUR).

Modified:
  go/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-07 16:41:06 UTC (rev 106787)
+++ PKGBUILD	2014-03-07 16:51:27 UTC (rev 106788)
@@ -51,12 +51,14 @@
       export GOARCH="$platform"
       bash make.bash --no-clean
 
-      if [ $platform$CARCH == amd64x86_64 -o $platform$CARCH == 386i686 ]; then
+      if [ $platform$CARCH == amd64x86_64 ]; then
         # Many thanks to Daniel YC Lin
         ../bin/go get -d code.google.com/p/go.tools/cmd/godoc
         ../bin/go build -o "$srcdir/godoc" code.google.com/p/go.tools/cmd/godoc
         ../bin/go get -d code.google.com/p/go.tools/cmd/vet
         ../bin/go build -o ../pkg/tool/$platform/vet code.google.com/p/go.tools/cmd/vet
+        ../bin/go get -d code.google.com/p/go.tools/cmd/lint
+        ../bin/go build -o ../pkg/tool/$platform/lint code.google.com/p/go.tools/cmd/lint
       fi
     done
   done




More information about the arch-commits mailing list