From 04a9e9db02f3bafe5d2eed9bd3a580ed87a27620 Mon Sep 17 00:00:00 2001 From: Toby Merz Date: Wed, 19 Feb 2020 08:45:39 +0100 Subject: [PATCH] kubernetes-helm: update to 3.1.0. --- srcpkgs/kubernetes-helm/template | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/srcpkgs/kubernetes-helm/template b/srcpkgs/kubernetes-helm/template index e73afa9a64a..c079437942c 100644 --- a/srcpkgs/kubernetes-helm/template +++ b/srcpkgs/kubernetes-helm/template @@ -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 " 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 }