mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-13 20:57:00 +02:00
parent
2c0e15b0b9
commit
e832654b64
1 changed files with 5 additions and 4 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'go'
|
||||
pkgname=go
|
||||
version=1.23.6
|
||||
version=1.24.1
|
||||
revision=1
|
||||
_bootstrap="1.22.6"
|
||||
create_wrksrc=yes
|
||||
build_wrksrc=go
|
||||
hostmakedepends="go1.22-bootstrap"
|
||||
hostmakedepends="go${_bootstrap%.*}-bootstrap"
|
||||
checkdepends="iana-etc clang gcc-fortran"
|
||||
short_desc="Go Programming Language"
|
||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||
|
@ -12,7 +13,7 @@ license="BSD-3-Clause"
|
|||
homepage="https://go.dev/"
|
||||
changelog="https://go.dev/doc/devel/release.html"
|
||||
distfiles="https://go.dev/dl/go${version}.src.tar.gz"
|
||||
checksum=039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222
|
||||
checksum=8244ebf46c65607db10222b5806aeb31c1fcf8979c1b6b12f60c677e9a3c0656
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
# on CI it tries to use `git submodule`, which is not part of chroot-git
|
||||
|
@ -60,7 +61,7 @@ do_build() {
|
|||
# dependency
|
||||
unset CGO_CXXFLAGS CGO_ENABLED # CGO_CFLAGS
|
||||
|
||||
export GOROOT_BOOTSTRAP="/usr/lib/go1.22.0"
|
||||
export GOROOT_BOOTSTRAP="/usr/lib/go${_bootstrap}"
|
||||
export GOROOT=$PWD
|
||||
|
||||
cd "src"
|
||||
|
|
Loading…
Add table
Reference in a new issue