Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions srcpkgs/kubernetes-helm/template
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Template file for 'kubernetes-helm'
pkgname=kubernetes-helm
version=4.2.0
version=4.2.2
revision=1
_major_version=${version%%.*}
build_style=go
build_helper=qemu
go_import_path="helm.sh/helm/v4"
go_import_path="helm.sh/helm/v${_major_version}"
go_package="./cmd/helm"
go_mod_mode=off
go_ldflags="-X helm.sh/helm/v4/internal/version.version=v${version%.*}"
go_ldflags="-X helm.sh/helm/v${_major_version}/internal/version.version=v${version%.*}"
make_check_args="-skip=^TestInstallRelease_Wait$"
checkdepends="git"
short_desc="Kubernetes Package Manager"
Expand All @@ -16,7 +17,7 @@ license="Apache-2.0"
homepage="https://helm.sh/"
changelog="https://github.com/helm/helm/releases"
distfiles="https://github.com/helm/helm/archive/refs/tags/v${version}.tar.gz"
checksum=98d6b09a7dce667d0638bd293b6ef768cfc6ba51afda42b0fe0be1c7a021ceb7
checksum=2208572edb814bf481bf4657a73009e5155c83967ba1f514083b476de95f948f
conflicts="helm"
nopie=yes

Expand All @@ -28,12 +29,8 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
fi

post_install() {
if [ "$XBPS_TARGET_MACHINE" != aarch64-musl ]; then
# qemu-aarch64-static segfaults
# https://build.voidlinux.org/builders/aarch64-musl_builder/builds/49864/steps/shell_3/logs/stdio
for shell in bash zsh; do
vtargetrun "${DESTDIR}/usr/bin/helm" completion "${shell}" > "helm.${shell}"
vcompletion "helm.${shell}" "${shell}"
done
fi
for shell in bash zsh; do
vtargetrun "${DESTDIR}/usr/bin/helm" completion "${shell}" > "helm.${shell}"
vcompletion "helm.${shell}" "${shell}"
done
}