summaryrefslogtreecommitdiff
path: root/community/go
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-14 01:35:52 -0700
committerroot <root@rshg054.dnsready.net>2013-08-14 01:35:52 -0700
commit35ddd3815641e4564d75c5b402f7f0cf48628167 (patch)
treec182205aac34cc99f9059a2e5f5d2c823a7bb258 /community/go
parent67ed1f749df552e8649438980b92b257f868eb8d (diff)
Wed Aug 14 01:35:17 PDT 2013
Diffstat (limited to 'community/go')
-rw-r--r--community/go/PKGBUILD24
-rw-r--r--community/go/go.sh1
2 files changed, 13 insertions, 12 deletions
diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD
index 555b74b03..95e355016 100644
--- a/community/go/PKGBUILD
+++ b/community/go/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 92767 2013-06-14 21:32:00Z arodseth $
+# $Id: PKGBUILD 95534 2013-08-13 13:02:46Z arodseth $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
@@ -8,10 +8,10 @@
# Contributor: Mike Rosset <mike.rosset@gmail.com>
# Contributor: Daniel YC Lin <dlin.tw@gmail.com>
-# TODO: Create split packages for the crosscompilation versions? (maybe)
+# TODO: Create split packages for the crosscompilation versions. Maybe.
pkgname=go
-pkgver=1.1.1
+pkgver=1.1.2
pkgrel=1
epoch=2
pkgdesc='Compiler and tools for the Go programming language from Google'
@@ -24,17 +24,17 @@ 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")
- sha256sums=('71ff6e7bfd8f59a12f2fc7b7abf5d006fad24664e11e39bec61c2ac84d2e573f'
- 'a03db71d323ed2794123bb31b5c8ad5febd551c490b5c0b341052c8e5f0ba892')
-else
+#if [ "$CARCH" == 'x86_64' ]; then
+# source=("http://go.googlecode.com/files/${pkgname}$pkgver.linux-amd64.tar.gz"
+# "$pkgname.sh")
+# sha256sums=('ad583ff91bd2955fc48d24001785587e3c3b5ce5c09e4971a37028db4c3f6a98'
+# '36202a833faeb8ea10760557a1e221025288480bdeebf776c8b610014aadc181')
+#else
source=("http://go.googlecode.com/files/${pkgname}$pkgver.linux-386.tar.gz"
"$pkgname.sh")
- sha256sums=('fabb01f1b6a048280f4235c6d9be1cd7ed27a653ca0e011c393af23e40b54450'
- 'a03db71d323ed2794123bb31b5c8ad5febd551c490b5c0b341052c8e5f0ba892')
-fi
+ sha256sums=('56f384c973e58c098ec462bcd892a7c1166b9a392461970ddb22d57ed4d495af'
+ '36202a833faeb8ea10760557a1e221025288480bdeebf776c8b610014aadc181')
+#fi
build() {
cd "$srcdir/$pkgname/src"
diff --git a/community/go/go.sh b/community/go/go.sh
index a0109ba97..51c6e7677 100644
--- a/community/go/go.sh
+++ b/community/go/go.sh
@@ -1 +1,2 @@
export GOPATH=/usr/lib/go/site
+export GOROOT=/usr/lib/go