23 lines
772 B
Bash
23 lines
772 B
Bash
# Template file for 'kops'
|
|
pkgname=kops
|
|
version=1.26.2
|
|
revision=1
|
|
archs="x86_64*"
|
|
build_style=go
|
|
go_import_path="k8s.io/kops/cmd/kops"
|
|
go_ldflags="-X k8s.io/kops.Version=${version} -X k8s.io/kops.GitVersion=${version}"
|
|
depends="kubectl"
|
|
short_desc="Production Grade K8s Installation, Upgrades, and Management"
|
|
maintainer="Mate Gabri <iam@theguy.io>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/kubernetes/kops"
|
|
distfiles="https://github.com/kubernetes/kops/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=01d1af58b3cc2ff0917aa0ef95c7f1761bf3572b90e48608637771c2ba779813
|
|
|
|
post_install() {
|
|
${DESTDIR}/usr/bin/kops completion bash >kops-completion.bash
|
|
${DESTDIR}/usr/bin/kops completion zsh >_kops
|
|
vcompletion kops-completion.bash bash kops
|
|
vcompletion _kops zsh
|
|
}
|