go: update to 1.20.
This commit is contained in:
parent
2f8d92629c
commit
bc5f463ce0
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'go'
|
# Template file for 'go'
|
||||||
pkgname=go
|
pkgname=go
|
||||||
version=1.19.5
|
version=1.20
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_wrksrc=go
|
build_wrksrc=go
|
||||||
hostmakedepends="go1.12-bootstrap"
|
hostmakedepends="go1.17-bootstrap"
|
||||||
checkdepends="iana-etc clang gcc-fortran"
|
checkdepends="iana-etc clang gcc-fortran"
|
||||||
short_desc="Go Programming Language"
|
short_desc="Go Programming Language"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
|
@ -12,7 +12,7 @@ license="BSD-3-Clause"
|
||||||
homepage="https://go.dev/"
|
homepage="https://go.dev/"
|
||||||
changelog="https://go.dev/doc/devel/release.html"
|
changelog="https://go.dev/doc/devel/release.html"
|
||||||
distfiles="https://go.dev/dl/go${version}.src.tar.gz"
|
distfiles="https://go.dev/dl/go${version}.src.tar.gz"
|
||||||
checksum=8e486e8e85a281fc5ce3f0bedc5b9d2dbf6276d7db0b25d3ec034f313da0375f
|
checksum=3a29ff0421beaf6329292b8a46311c9fbf06c800077ceddef5fb7f8d5b1ace33
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
# on CI it tries to use `git submodule`, which is not part of chroot-git
|
# on CI it tries to use `git submodule`, which is not part of chroot-git
|
||||||
|
@ -53,7 +53,7 @@ do_build() {
|
||||||
# dependency
|
# dependency
|
||||||
unset CGO_CXXFLAGS CGO_ENABLED # CGO_CFLAGS
|
unset CGO_CXXFLAGS CGO_ENABLED # CGO_CFLAGS
|
||||||
|
|
||||||
export GOROOT_BOOTSTRAP="/usr/lib/go1.12"
|
export GOROOT_BOOTSTRAP="/usr/lib/go1.17.13"
|
||||||
export GOROOT=$PWD
|
export GOROOT=$PWD
|
||||||
export GOROOT_FINAL="/usr/lib/go"
|
export GOROOT_FINAL="/usr/lib/go"
|
||||||
export GOARCH=${_goarch}
|
export GOARCH=${_goarch}
|
||||||
|
|
Loading…
Reference in New Issue