summaryrefslogtreecommitdiff
path: root/community/go/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/go/PKGBUILD')
-rw-r--r--community/go/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD
index 7578cb815..83d3d3ca6 100644
--- a/community/go/PKGBUILD
+++ b/community/go/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 90814 2013-05-14 09:02:17Z arodseth $
+# $Id: PKGBUILD 91709 2013-05-26 13:26:56Z arodseth $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
@@ -8,11 +8,11 @@
# Contributor: Mike Rosset <mike.rosset@gmail.com>
# Contributor: Daniel YC Lin <dlin.tw@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 @@ makedepends=('inetutils')
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 @@ package() {
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