2020-11-09 14:25:55 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://helm.sh
|
2020-12-11 16:57:37 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="Helm helps you manage Kubernetes applications"
|
2020-11-09 14:25:55 +01:00
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-12-11 16:57:37 +01:00
|
|
|
TERMUX_PKG_VERSION=3.4.2
|
2020-11-09 14:25:55 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/helm/helm/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2020-12-11 16:57:37 +01:00
|
|
|
TERMUX_PKG_SHA256=eae87983010fe09501f2fb466866e995fc4e28184b70bba9d41b143a932ddf06
|
2020-11-09 14:25:55 +01:00
|
|
|
|
|
|
|
termux_step_make() {
|
2020-12-11 16:57:37 +01:00
|
|
|
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
|
2020-11-09 14:25:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2020-12-11 16:57:37 +01:00
|
|
|
install -Dm700 ${TERMUX_PKG_BUILDDIR}/src/github.com/helm/helm/bin/helm \
|
|
|
|
$TERMUX_PREFIX/bin/helm
|
2020-11-09 14:25:55 +01:00
|
|
|
}
|