author | Morten Linderud
<foxboron@archlinux.org> 2021-12-03 11:07:58 UTC |
committer | Morten Linderud
<foxboron@archlinux.org> 2021-12-03 11:07:58 UTC |
parent | 102d5b9433ab15101abd908f409602fe047e3314 |
PKGBUILD | +5 | -8 |
diff --git a/PKGBUILD b/PKGBUILD index 2aa8ae6..7b45c8c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,4 +1,5 @@ # Maintainer: Morten Linderud <foxboron@archlinux.org> +# Contributor: Daniel Martí <mvdan@mvdan.cc> # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Alexander F. Rødseth <xyproto@archlinux.org> # Contributor: Pierre Neidhardt <ambrevar@gmail.com> @@ -13,7 +14,7 @@ pkgname=go epoch=2 -pkgver=1.17.3 +pkgver=1.17.4 pkgrel=1 pkgdesc='Core compiler tools for the Go programming language' arch=(x86_64) @@ -25,21 +26,19 @@ provides=(go-pie) options=(!strip staticlibs) source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}) validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796') -sha256sums=('705c64251e5b25d5d55ede1039c6aa22bea40a7a931d14c370339853643c3df0' +sha256sums=('4bef3699381ef09e075628504187416565d710660fec65b057edf1ceb187fc4b' 'SKIP') build() { export GOARCH=amd64 + export GOAMD64=v1 # make sure we're building for the right x86-64 version export GOROOT_FINAL=/usr/lib/go export GOROOT_BOOTSTRAP=/usr/lib/go export GOPATH="$srcdir/" export GOROOT="$srcdir/$pkgname" - export GOBIN="$GOROOT/bin" cd "$pkgname/src" - ./make.bash --no-clean -v - - PATH="$GOBIN:$PATH" go install -v std + ./make.bash -v } check() { @@ -47,8 +46,6 @@ check() { export GOROOT_FINAL=/usr/lib/go export GOROOT_BOOTSTRAP=/usr/lib/go export GOROOT="$srcdir/$pkgname" - export GOBIN="$GOROOT/bin" - export PATH="$srcdir/$pkgname/bin:$PATH" export GO_TEST_TIMEOUT_SCALE=3 cd $pkgname/src