[arch-commits] Commit in go/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Sun May 26 09:26:36 EDT 2013


    Date: Sunday, May 26, 2013 @ 15:26:35
  Author: arodseth
Revision: 91708

upgpkg: go 2:1.1-2, making sure lib/go/site/src is created

Modified:
  go/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-26 09:26:32 UTC (rev 91707)
+++ PKGBUILD	2013-05-26 13:26:35 UTC (rev 91708)
@@ -8,11 +8,11 @@
 # Contributor: Mike Rosset <mike.rosset at gmail.com>
 # Contributor: Daniel YC Lin <dlin.tw at gmail.com>
 
-# TODO: Create split packages for the crosscompilation versions as well
+# TODO: Create split packages for the crosscompilation versions as well?
 
 pkgname=go
 pkgver=1.1
-pkgrel=1
+pkgrel=2
 epoch=2
 pkgdesc='Google Go compiler and tools'
 arch=('x86_64' 'i686')
@@ -23,6 +23,7 @@
 options=('!strip')
 install="$pkgname.install"
 backup=('usr/lib/go/bin')
+
 if [ "$CARCH" == 'x86_64' ]; then
   source=("http://go.googlecode.com/files/${pkgname}$pkgver.linux-amd64.tar.gz"
           "$pkgname.sh")
@@ -93,7 +94,8 @@
     install -Dm644 misc/vim/$f $pkgdir/usr/share/vim/vimfiles/$f
   done
 
-  mkdir -p $pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site}}
+  mkdir -p \
+    $pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
 
   cp -r doc misc -t $pkgdir/usr/share/go
   ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc



More information about the arch-commits mailing list