summaryrefslogtreecommitdiff
path: root/community/go/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/go/PKGBUILD')
-rw-r--r--community/go/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD
index 8515479de..52f9e77a8 100644
--- a/community/go/PKGBUILD
+++ b/community/go/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 99613 2013-10-30 14:46:57Z arodseth $
+# $Id: PKGBUILD 101866 2013-12-02 13:37:29Z arodseth $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
@@ -9,8 +9,8 @@
# Contributor: Daniel YC Lin <dlin.tw@gmail.com>
pkgname=go
-pkgver=1.1.2
-pkgrel=3
+pkgver=1.2
+pkgrel=1
epoch=2
pkgdesc='Compiler and tools for the Go programming language from Google'
arch=('x86_64' 'i686')
@@ -19,19 +19,20 @@ license=('custom')
depends=('perl' 'gawk')
makedepends=('inetutils')
options=('!strip' 'staticlibs')
+optdepends=('liteide: IDE for editing and building projects written in Go')
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=('ad583ff91bd2955fc48d24001785587e3c3b5ce5c09e4971a37028db4c3f6a98'
- '36202a833faeb8ea10760557a1e221025288480bdeebf776c8b610014aadc181')
+ sha256sums=('1252ca0aa0a96d53c0592fbc4ea9c9ff5c6b588169c92e08d06da9d89d9d91f2'
+ 'b6209904c88bde96efcac846c267e308e4dc39c8a45f2690204c2175de4b9b0a')
else
source=("http://go.googlecode.com/files/${pkgname}$pkgver.linux-386.tar.gz"
"$pkgname.sh")
- sha256sums=('56f384c973e58c098ec462bcd892a7c1166b9a392461970ddb22d57ed4d495af'
- '36202a833faeb8ea10760557a1e221025288480bdeebf776c8b610014aadc181')
+ sha256sums=('3f51aacc7af60c520fe1071f3cb1d9ceee5db0e8fdfb7168a73e12fd7603e651'
+ 'b6209904c88bde96efcac846c267e308e4dc39c8a45f2690204c2175de4b9b0a')
fi
build() {
@@ -50,6 +51,7 @@ build() {
# Enable ARM crosscompilation for linux
export GOOS=linux
export GOARCH=arm
+
bash make.bash
# Crosscompilation for various platforms (including linux)