kubernetes-helm: update to 3.1.0.
This commit is contained in:
parent
33fa6d19c6
commit
04a9e9db02
1 changed files with 8 additions and 15 deletions
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'kubernetes-helm'
|
# Template file for 'kubernetes-helm'
|
||||||
pkgname=kubernetes-helm
|
pkgname=kubernetes-helm
|
||||||
version=2.16.1
|
version=3.1.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="helm-${version}"
|
wrksrc="helm-${version}"
|
||||||
hostmakedepends="go make git mercurial"
|
hostmakedepends="go make git mercurial tar"
|
||||||
short_desc="Kubernetes Package Manager"
|
short_desc="Kubernetes Package Manager"
|
||||||
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://helm.sh/"
|
homepage="https://helm.sh/"
|
||||||
distfiles="https://github.com/helm/helm/archive/v${version}.tar.gz"
|
distfiles="https://github.com/helm/helm/archive/v${version}.tar.gz"
|
||||||
checksum=7c3773a8ad316829145fcb10a7cb5093a799909af568309250ff158325c0a33c
|
checksum=46799de982807cd3e215c82f844f2a41c96c6c360d097797872517d03bceaeae
|
||||||
conflicts="helm"
|
conflicts="helm"
|
||||||
nopie=true
|
nopie=true
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ pre_build() {
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd golib/src/k8s.io/helm
|
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 bash > completion.bash
|
||||||
_dist/linux-${_go_host_arch}/helm completion zsh > completion.zsh
|
_dist/linux-${_go_host_arch}/helm completion zsh > completion.zsh
|
||||||
|
@ -60,17 +60,10 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
cd golib/src/k8s.io/helm
|
cd golib/src/k8s.io/helm
|
||||||
|
|
||||||
# Copy documentation and examples.
|
# Copy helm binary
|
||||||
vmkdir usr/share/examples/$pkgname
|
vbin _dist/linux-${_go_target_arch}/helm
|
||||||
vcopy "docs/examples/*" usr/share/examples/$pkgname
|
|
||||||
for file in docs/man/man1/*.1; do
|
# Copy completion files
|
||||||
vman ${file}
|
|
||||||
done
|
|
||||||
vinstall completion.bash 644 usr/share/bash-completion/completions helm
|
vinstall completion.bash 644 usr/share/bash-completion/completions helm
|
||||||
vinstall completion.zsh 644 usr/share/$pkgname
|
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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue