[arch-commits] Commit in go/trunk (PKGBUILD)
Morten Linderud
foxboron at gemini.archlinux.org
Fri Dec 3 11:07:59 UTC 2021
Date: Friday, December 3, 2021 @ 11:07:58
Author: foxboron
Revision: 1064758
upgpkg: go 2:1.17.4-1
Modified:
go/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-03 10:49:24 UTC (rev 1064757)
+++ PKGBUILD 2021-12-03 11:07:58 UTC (rev 1064758)
@@ -1,4 +1,5 @@
# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Daniel Martí <mvdan at mvdan.cc>
# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
# Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
# Contributor: Pierre Neidhardt <ambrevar at 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 @@
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 @@
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
More information about the arch-commits
mailing list