community/go to 1.1rc1-1

This commit is contained in:
Kevin Mihelich 2013-05-02 12:09:25 -06:00
parent 005d9f3974
commit 9b3372af3a

View file

@ -13,7 +13,7 @@
# - Go 1.1beta2 support
pkgname=go
pkgver=1.1beta2
pkgver=1.1rc1
pkgrel=1
epoch=2
pkgdesc='Google Go compiler and tools'
@ -26,11 +26,11 @@ install="$pkgname.install"
backup=('usr/lib/go/bin')
source=("http://go.googlecode.com/files/${pkgname}$pkgver.src.tar.gz"
"$pkgname.sh")
sha256sums=('7437a922cdbaad92f902d7a883edbdb8ea15ffeb04ff9960193a24632fcde3f0'
sha256sums=('62b405cedaa90a390652ed8ec593c50abfeafb746540db9babe93a99f1890691'
'a03db71d323ed2794123bb31b5c8ad5febd551c490b5c0b341052c8e5f0ba892')
build() {
cd "$srcdir/$pkgname"
cd "$srcdir/$pkgname/src"
[ "$CARCH" == 'arm' ] && export GOARM=5
[ "$CARCH" == 'armv6h' ] && export GOARM=6
@ -40,7 +40,6 @@ build() {
export GOROOT_FINAL=/usr/lib/go
export GOOS=linux
cd src
bash make.bash
}