diff options
author | Obed N Munoz | 2017-08-25 14:18:50 -0500 |
---|---|---|
committer | Obed N Munoz | 2017-08-25 14:21:32 -0500 |
commit | 7234647f3f342f57e0ee5c8c2afd68f18b717825 (patch) | |
tree | 615e493c869f96caaebd87c0e767529034293e6f /PKGBUILD | |
parent | bc4da632ede41d34237eac54fdb0fe65671ffd81 (diff) | |
download | aur-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>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |