kubernetes-helm: update to 3.1.0.

This commit is contained in:
Toby Merz 2020-02-19 08:45:39 +01:00 committed by Helmut Pozimski
parent 33fa6d19c6
commit 04a9e9db02

View file

@ -1,15 +1,15 @@
# Template file for 'kubernetes-helm'
pkgname=kubernetes-helm
version=2.16.1
version=3.1.0
revision=1
wrksrc="helm-${version}"
hostmakedepends="go make git mercurial"
hostmakedepends="go make git mercurial tar"
short_desc="Kubernetes Package Manager"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="Apache-2.0"
homepage="https://helm.sh/"
distfiles="https://github.com/helm/helm/archive/v${version}.tar.gz"
checksum=7c3773a8ad316829145fcb10a7cb5093a799909af568309250ff158325c0a33c
checksum=46799de982807cd3e215c82f844f2a41c96c6c360d097797872517d03bceaeae
conflicts="helm"
nopie=true
@ -51,7 +51,7 @@ pre_build() {
do_build() {
cd golib/src/k8s.io/helm
TARGETS="linux/${_go_target_arch} linux/${_go_host_arch}" make bootstrap build-cross APP="..." LDFLAGS="-X k8s.io/helm/pkg/version.Version=v${version} -X k8s.io/helm/pkg/version.BuildMetadata="
TARGETS="linux/${_go_target_arch} linux/${_go_host_arch}" make build-cross APP="..." LDFLAGS="-X k8s.io/helm/pkg/version.Version=v${version} -X k8s.io/helm/pkg/version.BuildMetadata="
_dist/linux-${_go_host_arch}/helm completion bash > completion.bash
_dist/linux-${_go_host_arch}/helm completion zsh > completion.zsh
@ -60,17 +60,10 @@ do_build() {
do_install() {
cd golib/src/k8s.io/helm
# Copy documentation and examples.
vmkdir usr/share/examples/$pkgname
vcopy "docs/examples/*" usr/share/examples/$pkgname
for file in docs/man/man1/*.1; do
vman ${file}
done
# Copy helm binary
vbin _dist/linux-${_go_target_arch}/helm
# Copy completion files
vinstall completion.bash 644 usr/share/bash-completion/completions helm
vinstall completion.zsh 644 usr/share/$pkgname
# Copy binaries and license
vbin _dist/linux-${_go_target_arch}/helm
vbin _dist/linux-${_go_target_arch}/tiller
vlicense LICENSE
}