community/go fix

This commit is contained in:
Kevin Mihelich 2014-03-03 19:20:55 +00:00
parent f34dff5cdb
commit cba1ffbc79

View file

@ -115,11 +115,6 @@ package() {
install -Dm644 src/pkg/runtime/cgocall.h \
"$pkgdir/usr/lib/go/src/pkg/runtime/cgocall.h"
# Set GOROOT since /usr/lib/go is not a standard location,
# (http://golang.org/doc/install/source) and may also make godoc work
# for some instances where it otherwise does not work. (FS#38597)
install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/etc/profile.d/$pkgname.sh"
# This is to make go get code.google.com/p/go-tour/gotour and
# then running the gotour executable work out of the box.
ln -sf /usr/bin "$pkgdir/usr/lib/go/bin"