termux-packages/packages/helm/build.sh
Termux Github Actions 05ae16b2fe helm: update to 3.7.2
This commit has been automatically submitted by Github Actions.
2021-12-09 00:21:55 +00:00

23 lines
790 B
Bash

TERMUX_PKG_HOMEPAGE=https://helm.sh
TERMUX_PKG_DESCRIPTION="Helm helps you manage Kubernetes applications"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.7.2
TERMUX_PKG_SRCURL=https://github.com/helm/helm/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d04175807c2948261517b58120a0810ec20b92c0058acb040e973d0b9de7b08d
TERMUX_PKG_AUTO_UPDATE=true
termux_step_make() {
termux_setup_golang
cd "$TERMUX_PKG_SRCDIR"
mkdir -p "${TERMUX_PKG_BUILDDIR}/src/github.com/helm"
cp -a "${TERMUX_PKG_SRCDIR}" "${TERMUX_PKG_BUILDDIR}/src/github.com/helm/helm"
cd "${TERMUX_PKG_BUILDDIR}/src/github.com/helm/helm"
make
}
termux_step_make_install() {
install -Dm700 ${TERMUX_PKG_BUILDDIR}/src/github.com/helm/helm/bin/helm \
$TERMUX_PREFIX/bin/helm
}