summaryrefslogtreecommitdiff
path: root/community/go
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-28 02:28:30 -0800
committerroot <root@rshg054.dnsready.net>2012-11-28 02:28:30 -0800
commit5c5e1e3a998a54db424b8261fac042ab41745d99 (patch)
treef25ae86eedc51b374b7000e4a444f98106fd9be9 /community/go
parentc008601effc878e60852f7928ddadcf5a16eb851 (diff)
Wed Nov 28 02:22:26 PST 2012
Diffstat (limited to 'community/go')
-rw-r--r--community/go/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
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 <vegai@iki.fi>
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
@@ -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