From 5c5e1e3a998a54db424b8261fac042ab41745d99 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 28 Nov 2012 02:28:30 -0800 Subject: Wed Nov 28 02:22:26 PST 2012 --- community/go/PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'community/go') diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index 5e2afb2e5..06bcb0b3e 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79946 2012-11-15 01:53:41Z arodseth $ +# $Id: PKGBUILD 80625 2012-11-27 11:18:45Z arodseth $ # Maintainer: Vesa Kaihlavirta # Maintainer: Alexander Rødseth # Contributor: Rémy Oudompheng @@ -10,7 +10,7 @@ pkgname=go pkgver=1.0.3 -pkgrel=3 +pkgrel=4 epoch=2 pkgdesc='Google Go compiler and tools' arch=('x86_64' 'i686') @@ -100,6 +100,9 @@ package() { # Remove object files from target src dir find $pkgdir/usr/lib/go/src/ -type f -name '*.[ao]' -delete + # Fix for FS#32813 + find $pkgdir -type f -name sql.go -exec chmod -x {} \; + # Remove all executable source files find $pkgdir/usr/lib/go/src/pkg -type f -executable -delete # Headers for C modules @@ -113,11 +116,6 @@ package() { # This is to make go get code.google.com/p/go-tour/gotour and # then running the gotour executable work out of the box. - # - # Also, /usr/bin is the place for system-wide executables, - # not /usr/lib/go/bin. Users should use different paths by - # setting the appropriate environment variables. - # ln -sf /usr/bin $pkgdir/usr/lib/go/bin # For godoc -- cgit v1.2.3-54-g00ecf