community/go to 1.0.3-7

This commit is contained in:
Kevin Mihelich 2013-03-25 21:30:50 +00:00
parent f0ae0c27fb
commit 2c25c2b452

View file

@ -13,7 +13,7 @@
pkgname=go
pkgver=1.0.3
pkgrel=6
pkgrel=7
epoch=2
pkgdesc='Google Go compiler and tools'
arch=('x86_64' 'i686')
@ -21,8 +21,8 @@ url='http://golang.org/'
license=('custom')
depends=('perl' 'gawk')
makedepends=('inetutils')
options=('!strip' '!emptydirs')
install=go.install
options=('!strip')
install="$pkgname.install"
backup=('usr/lib/go/bin')
source=("http://go.googlecode.com/files/${pkgname}$pkgver.src.tar.gz"
$pkgname.sh)
@ -109,7 +109,7 @@ 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}}
mkdir -p $pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site}}
cp -r doc misc -t $pkgdir/usr/share/go
ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc