28 lines
771 B
Bash
28 lines
771 B
Bash
# Template file for 'kubernetes-kind'
|
|
pkgname=kubernetes-kind
|
|
version=0.20.0
|
|
revision=1
|
|
build_style=go
|
|
build_helper=qemu
|
|
go_import_path="sigs.k8s.io/kind"
|
|
short_desc="Kind is a tool for running local Kubernetes clusters using Docker"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://kind.sigs.k8s.io/"
|
|
distfiles="https://github.com/kubernetes-sigs/kind/archive/v${version}.tar.gz"
|
|
checksum=6795c3478a298973e010349b87740fa1732e18989856db0deed54b153330365c
|
|
_completions="bash zsh fish"
|
|
|
|
post_build() {
|
|
local cli=$(find $GOPATH/bin -name kind)
|
|
for shell in $_completions; do
|
|
vtargetrun $cli completion $shell > "kind.${shell}"
|
|
done
|
|
}
|
|
|
|
post_install() {
|
|
for shell in $_completions; do
|
|
vcompletion "kind.${shell}" $shell kind
|
|
done
|
|
}
|