BlueGit

timfa bluegit

Pakketten: GOTOOLCHAIN=auto voor go.mod met Go 1.26

timfa Tim Falken · pushed by timfa

Authored 2026-10-26 · 3 weeks ago

Hash
b292d7e7991cd784e6c994185469157eaa6ee3af
Parent
5dbc60c3
Pipeline
Passed
3 files changed +6 −0
packaging/arch/PKGBUILD +2 −0
@@ -16,6 +16,8 @@ build() {
16 16 root="$(cd "$startdir/../.." && pwd)"
17 17 cd "$root"
18 18 export CGO_ENABLED=0
19 # go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
20 export GOTOOLCHAIN=auto
19 21 export GOFLAGS='-trimpath'
20 22 go build -ldflags='-s -w' -o "$srcdir/bluegit" ./cmd/bluegit
21 23 }
@@ -16,6 +16,8 @@ build() {
16 root="$(cd "$startdir/../.." && pwd)"
16 root="$(cd "$startdir/../.." && pwd)"
17 cd "$root"
17 cd "$root"
18 export CGO_ENABLED=0
18 export CGO_ENABLED=0
19 # go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
20 export GOTOOLCHAIN=auto
19 export GOFLAGS='-trimpath'
21 export GOFLAGS='-trimpath'
20 go build -ldflags='-s -w' -o "$srcdir/bluegit" ./cmd/bluegit
22 go build -ldflags='-s -w' -o "$srcdir/bluegit" ./cmd/bluegit
21}
23}
packaging/aur-runner/PKGBUILD +2 −0
@@ -17,6 +17,8 @@ sha256sums=('0000000000000000000000000000000000000000000000000000000000000000')
17 17 build() {
18 18 cd "$srcdir/bluegit-${_commit}"
19 19 export CGO_ENABLED=0
20 # go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
21 export GOTOOLCHAIN=auto
20 22 export GOFLAGS='-trimpath'
21 23 export GOCACHE="${BUILDDIR:-$srcdir}/gocache"
22 24 export GOPATH="${BUILDDIR:-$srcdir}/gopath"
@@ -17,6 +17,8 @@ sha256sums=('0000000000000000000000000000000000000000000000000000000000000000')
17build() {
17build() {
18 cd "$srcdir/bluegit-${_commit}"
18 cd "$srcdir/bluegit-${_commit}"
19 export CGO_ENABLED=0
19 export CGO_ENABLED=0
20 # go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
21 export GOTOOLCHAIN=auto
20 export GOFLAGS='-trimpath'
22 export GOFLAGS='-trimpath'
21 export GOCACHE="${BUILDDIR:-$srcdir}/gocache"
23 export GOCACHE="${BUILDDIR:-$srcdir}/gocache"
22 export GOPATH="${BUILDDIR:-$srcdir}/gopath"
24 export GOPATH="${BUILDDIR:-$srcdir}/gopath"
packaging/aur/PKGBUILD +2 −0
@@ -18,6 +18,8 @@ sha256sums=('f40837ad2c6bf3cdea6080b3d257af44d2fcdb78659e59468c8fea5c33b7f338')
18 18 build() {
19 19 cd "$srcdir/bluegit-${_commit}"
20 20 export CGO_ENABLED=0
21 # go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
22 export GOTOOLCHAIN=auto
21 23 export GOFLAGS='-trimpath'
22 24 # De geïnstalleerde updater zet HOME op /var/lib/bluegit-build. Die map
23 25 # bestaat pas na tmpfiles, dus deze bouw mag daar niet schrijven.
@@ -18,6 +18,8 @@ sha256sums=('f40837ad2c6bf3cdea6080b3d257af44d2fcdb78659e59468c8fea5c33b7f338')
18build() {
18build() {
19 cd "$srcdir/bluegit-${_commit}"
19 cd "$srcdir/bluegit-${_commit}"
20 export CGO_ENABLED=0
20 export CGO_ENABLED=0
21 # go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
22 export GOTOOLCHAIN=auto
21 export GOFLAGS='-trimpath'
23 export GOFLAGS='-trimpath'
22 # De geïnstalleerde updater zet HOME op /var/lib/bluegit-build. Die map
24 # De geïnstalleerde updater zet HOME op /var/lib/bluegit-build. Die map
23 # bestaat pas na tmpfiles, dus deze bouw mag daar niet schrijven.
25 # bestaat pas na tmpfiles, dus deze bouw mag daar niet schrijven.