author | Alexander Rødseth
<xyproto@archlinux.org> 2012-11-27 11:18:24 UTC |
committer | Alexander Rødseth
<xyproto@archlinux.org> 2012-11-27 11:18:24 UTC |
parent | 5047812d0cf9b871774ab71b3cd610b2076a4a29 |
PKGBUILD | +4 | -6 |
diff --git a/PKGBUILD b/PKGBUILD index a5e56fa..5770fa1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ pkgname=go pkgver=1.0.3 -pkgrel=3 +pkgrel=4 epoch=2 pkgdesc='Google Go compiler and tools' arch=('x86_64' 'i686') @@ -99,6 +99,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 @@ -112,11 +115,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