termux-packages/packages/helm/build.sh
Termux Github Actions 5533ead37d helm: update to 3.6.1
This commit has been automatically submitted by Github Actions.
2021-06-16 18:10:23 +00:00

22 lines
762 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.6.1
TERMUX_PKG_SRCURL=https://github.com/helm/helm/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c236558502eda2f0ad09893b86ee6eb1f214224328cc5c9b757f32603db4b84f
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
}