diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index c94e43352..9e645ac93 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -13,7 +13,7 @@ pkgname=go pkgver=1.0.3 -pkgrel=3.1 +pkgrel=4 epoch=2 pkgdesc='Google Go compiler and tools' arch=('x86_64' 'i686') @@ -123,6 +123,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 @@ -136,11 +139,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