From 4555723cac51b6e8313eb6dddaa52b38d413858c Mon Sep 17 00:00:00 2001 From: Mate GABRI Date: Mon, 12 Apr 2021 08:54:55 +1000 Subject: [PATCH] kubernetes-helm: update to 3.5.3 --- srcpkgs/kubernetes-helm/template | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/srcpkgs/kubernetes-helm/template b/srcpkgs/kubernetes-helm/template index 42f8d1bd443..b5c1b398bf2 100644 --- a/srcpkgs/kubernetes-helm/template +++ b/srcpkgs/kubernetes-helm/template @@ -1,7 +1,7 @@ # Template file for 'kubernetes-helm' pkgname=kubernetes-helm -version=3.3.1 -revision=1 +version=3.5.3 +revision=2 wrksrc="helm-${version}" hostmakedepends="go make git mercurial tar" short_desc="Kubernetes Package Manager" @@ -9,7 +9,7 @@ maintainer="Kyle Nusbaum " license="Apache-2.0" homepage="https://helm.sh/" distfiles="https://github.com/helm/helm/archive/v${version}.tar.gz" -checksum=7a0ca710683d264bfa79eeed61f1dfd90db2cc755cbc1d1e9ccbb43ec55917b6 +checksum=bd3e2488011e0a73650e810cf540fcfcfcb828ff1480cc2c5a1e50934cad9d82 conflicts="helm" nopie=true @@ -35,23 +35,10 @@ do_extract() { helm-${version} } -pre_build() { - export GOPATH="$(pwd)/golib" - - ## The current version of glide in the repository has - ## a bug that prevents building, so pull the current - ## version from git. - CC=/bin/gcc go get github.com/Masterminds/glide - CC=/bin/gcc go get github.com/mitchellh/gox - CC=/bin/gcc go install github.com/Masterminds/glide - CC=/bin/gcc go install github.com/mitchellh/gox - PATH="$PATH:$(pwd)/golib/bin/" - export PATH -} - do_build() { cd golib/src/k8s.io/helm - make build-cross TARGETS="linux/${_go_target_arch} linux/${_go_host_arch}" APP="..." LDFLAGS="-X k8s.io/helm/pkg/version.Version=v${version} -X k8s.io/helm/pkg/version.BuildMetadata=" + go mod tidy # can be removed with 3.6.0; see https://github.com/helm/helm/issues/9479 + make build-cross TARGETS="linux/${_go_target_arch} linux/${_go_host_arch}" APP="..." LDFLAGS="-X helm.sh/helm/v3/internal/version.version=v${version} -X helm.sh/helm/v3/internal/version.metadata=" _dist/linux-${_go_host_arch}/helm completion bash > completion.bash _dist/linux-${_go_host_arch}/helm completion zsh > completion.zsh