community/go to 1.0.3-4

This commit is contained in:
Kevin Mihelich 2012-11-28 19:20:12 +00:00
parent 3232ff4b05
commit 17795e839e

View file

@ -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