mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
New package: k3d-5.4.1
This commit is contained in:
parent
cbfaa88c2d
commit
0214763fad
1 changed files with 31 additions and 0 deletions
31
srcpkgs/k3d/template
Normal file
31
srcpkgs/k3d/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'k3d'
|
||||||
|
pkgname=k3d
|
||||||
|
version=5.4.1
|
||||||
|
revision=1
|
||||||
|
build_style=go
|
||||||
|
build_helper=qemu
|
||||||
|
go_import_path="github.com/k3d-io/k3d/v5"
|
||||||
|
depends="docker"
|
||||||
|
short_desc="Creates containerized k3s clusters"
|
||||||
|
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://k3d.io/"
|
||||||
|
distfiles="https://github.com/k3d-io/k3d/archive/v${version}.tar.gz"
|
||||||
|
checksum=606cf8fc8d2732e87e92cc9e67d73e64eb73c5e093193cc03172cbba685e0ee0
|
||||||
|
_completions="bash zsh fish"
|
||||||
|
|
||||||
|
post_build() {
|
||||||
|
local cli=$(find $GOPATH/bin -name k3d)
|
||||||
|
for shell in $_completions
|
||||||
|
do
|
||||||
|
vtargetrun "$cli" completion "$shell" >"completion.$shell"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
for shell in $_completions
|
||||||
|
do
|
||||||
|
vcompletion "completion.$shell" "$shell"
|
||||||
|
done
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue