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

Alexander Rødseth arodseth at archlinux.org
Sat Sep 12 12:52:47 UTC 2015


    Date: Saturday, September 12, 2015 @ 14:52:47
  Author: arodseth
Revision: 139964

upgpkg: go 2:1.5.1-2

Modified:
  go/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-12 09:13:07 UTC (rev 139963)
+++ PKGBUILD	2015-09-12 12:52:47 UTC (rev 139964)
@@ -13,7 +13,7 @@
 pkgname=go
 epoch=2
 pkgver=1.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Compiler and tools for the Go programming language from Google'
 arch=('x86_64' 'i686')
 url='http://golang.org/'
@@ -133,11 +133,13 @@
   rm -f "$pkgdir"/usr/lib/go/src/*.bat
 
   # Strip manually since `strip` will not process Go's static libraries.
-  for i in "$pkgdir/usr/bin/"* \
+  if [[ $CARCH == x86_64 ]]; then
+    for i in "$pkgdir/usr/bin/"* \
              "$pkgdir/usr/lib/go/pkg/bootstrap/bin/"* \
              "$pkgdir/usr/lib/go/pkg/tool/linux_amd64/"*; do
-    strip -s "$i"
+      strip -s "$i"
   done
+fi
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list