mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
k3d: build for go1.20
This commit is contained in:
parent
5bff83e826
commit
6b5d0be6c2
1 changed files with 3 additions and 7 deletions
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'k3d'
|
# Template file for 'k3d'
|
||||||
pkgname=k3d
|
pkgname=k3d
|
||||||
version=5.5.2
|
version=5.5.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=go
|
build_style=go
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
go_import_path="github.com/k3d-io/k3d/v5"
|
go_import_path="github.com/k3d-io/k3d/v5"
|
||||||
go_mod_mode=default
|
go_mod_mode=default
|
||||||
|
hostmakedepends="go1.20"
|
||||||
depends="docker"
|
depends="docker"
|
||||||
short_desc="Creates containerized k3s clusters"
|
short_desc="Creates containerized k3s clusters"
|
||||||
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
|
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
|
||||||
|
@ -15,12 +16,7 @@ changelog="https://raw.githubusercontent.com/k3d-io/k3d/main/CHANGELOG.md"
|
||||||
distfiles="https://github.com/k3d-io/k3d/archive/v${version}.tar.gz"
|
distfiles="https://github.com/k3d-io/k3d/archive/v${version}.tar.gz"
|
||||||
checksum=b9be4f6e21017e0dae06c0e7d234ff99b0e1a49edc44d3af821b6bdb5f3d2992
|
checksum=b9be4f6e21017e0dae06c0e7d234ff99b0e1a49edc44d3af821b6bdb5f3d2992
|
||||||
_completions="bash zsh fish"
|
_completions="bash zsh fish"
|
||||||
|
export GOTOOLCHAIN=go1.20
|
||||||
broken="GOTOOLCHAIN not supported"
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
export GOTOOLCHAIN="go1.20.7"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
local cli=$(find $GOPATH/bin -name k3d)
|
local cli=$(find $GOPATH/bin -name k3d)
|
||||||
|
|
Loading…
Add table
Reference in a new issue