git » go-1.20.git » commit 2351da4

fix FS#24199 and FS#19730

author Vesa Kaihlavirta
2011-05-30 12:28:29 UTC
committer Vesa Kaihlavirta
2011-05-30 12:28:29 UTC
parent a7b399230baeed53f9ff449134469f81dd40b86b

fix FS#24199 and FS#19730

PKGBUILD +5 -1

diff --git a/PKGBUILD b/PKGBUILD
index 95142a0..70cfa7f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 
 pkgname=go
 pkgver=r57.1
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc='Google Go compiler and tools (release version)'
 arch=('i686' 'x86_64')
@@ -66,7 +66,11 @@ package() {
 
   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