void-packages/srcpkgs/k3d/template

32 lines
748 B
Bash
Raw Normal View History

2021-12-17 09:59:26 +01:00
# Template file for 'k3d'
pkgname=k3d
2022-07-12 23:56:29 +02:00
version=5.4.4
2021-12-17 09:59:26 +01:00
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"
2022-07-12 23:56:29 +02:00
checksum=f970b63ca9d1b02f6fe11b9894267c2a99138021e9cdc1dda0d1796b682bd134
2021-12-17 09:59:26 +01:00
_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
}