summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorObed N Munoz2017-08-25 14:18:50 -0500
committerObed N Munoz2017-08-25 14:21:32 -0500
commit7234647f3f342f57e0ee5c8c2afd68f18b717825 (patch)
tree615e493c869f96caaebd87c0e767529034293e6f
parentbc4da632ede41d34237eac54fdb0fe65671ffd81 (diff)
downloadaur-7234647f3f342f57e0ee5c8c2afd68f18b717825.tar.gz
Upgrade to go 1.9
This is the first patch of new go releases. More patches will come to update current build process. Signed-off-by: Obed N Munoz <obed.n.munoz@gmail.com>
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 334e8b7d768..5633aaa44e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: fzerorubigd <fzerorubigd@gmail.com>
+# Maintainer: obedmr <obed.n.munoz@gmail.com>
+# Contributor: fzerorubigd <fzerorubigd@gmail.com>
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
@@ -10,10 +11,10 @@
# Contributor: John Luebs <jkluebs@gmail.com>
pkgname=go-git
-epoch=2
-pkgver=1.6beta2.r50.g1b6d55a
+epoch=1
+pkgver=1.9beta2.r553.ge11fd00629
pkgrel=1
-provides=(go=1.5)
+provides=(go=1.9)
conflicts=('go' 'go-hg')
pkgdesc='Compiler and tools for the Go programming language from Google'
arch=('x86_64' 'i686')
@@ -83,7 +84,7 @@ build() {
$GOROOT/bin/go get -v -d golang.org/x/tools/cmd/godoc
$GOROOT/bin/go build -o $srcdir/godoc golang.org/x/tools/cmd/godoc
- for tool in vet cover; do
+ for tool in cover; do
$GOROOT/bin/go get -v -d golang.org/x/tools/cmd/${tool}
$GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${tool} golang.org/x/tools/cmd/${tool}
done
@@ -138,7 +139,7 @@ package() {
# Fix for FS#32813
find "$pkgdir" -type f -name sql.go -exec chmod -x {} \;
-
+
# Remove all executable source files
find "$pkgdir/usr/lib/go/src" -type f -executable -delete