summaryrefslogtreecommitdiff
path: root/community/go
diff options
context:
space:
mode:
Diffstat (limited to 'community/go')
-rw-r--r--community/go/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD
index 97495a871..274a492fa 100644
--- a/community/go/PKGBUILD
+++ b/community/go/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=go
pkgver=r57.1
-pkgrel=1
+pkgrel=3
epoch=1
pkgdesc='Google Go compiler and tools (release version)'
arch=('i686' 'x86_64')
@@ -60,13 +60,18 @@ package() {
install -Dm644 misc/bash/go $pkgdir/etc/bash_completion.d/go
install -Dm644 misc/emacs/go-mode-load.el $pkgdir/usr/share/emacs/site-lisp/go-mode-load.el
install -Dm644 misc/emacs/go-mode.el $pkgdir/usr/share/emacs/site-lisp/go-mode.el
+ install -Dm644 misc/vim/ftdetect/gofiletype.vim $pkgdir/usr/share/vim/vimfiles/ftdetect/gofiletype.vim
install -Dm644 misc/vim/syntax/go.vim $pkgdir/usr/share/vim/vimfiles/syntax/go.vim
mkdir -p $pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src}}
cp -r bin $pkgdir/usr
cp -r doc misc -t $pkgdir/usr/share/go
+ ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc
cp -r pkg $pkgdir/usr/lib/go
+ cp -r $GOROOT/src/pkg $pkgdir/usr/lib/go/src/
+ cp -r $GOROOT/src/lib9 $pkgdir/usr/lib/go/src/
+ cp -r $GOROOT/lib $pkgdir/usr/lib/go/
install -Dm644 src/Make.* $pkgdir/usr/lib/go/src