summaryrefslogtreecommitdiff
path: root/community/go/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-31 22:46:59 +0000
committerroot <root@rshg047.dnsready.net>2011-05-31 22:46:59 +0000
commitc40a217db5f63be3aa88a32ad77ec93efb40d95c (patch)
treebb98d36456ecf48105be6f0bd57c480eb8f32619 /community/go/PKGBUILD
parenta422536e1ba326bff507ba81859c784a135d1804 (diff)
Tue May 31 22:46:59 UTC 2011
Diffstat (limited to 'community/go/PKGBUILD')
-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