23 lines
772 B
Bash
23 lines
772 B
Bash
# Template file for 'kops'
|
|
pkgname=kops
|
|
version=1.24.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=3ac82ce779e6a878b0434278e1bc2c4951c7c2a3f32376557bba7a23d1dc2cf9
|
|
|
|
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
|
|
}
|