2020-10-09 09:43:40 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://k9scli.io
|
|
|
|
TERMUX_PKG_DESCRIPTION="Kubernetes CLI To Manage Your Clusters In Style!"
|
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
|
|
TERMUX_PKG_MAINTAINER="Krishna Kanhaiya @kcubeterm"
|
2021-08-07 02:21:37 +02:00
|
|
|
TERMUX_PKG_VERSION=0.24.15
|
2020-10-09 09:43:40 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/derailed/k9s/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2021-08-07 02:21:37 +02:00
|
|
|
TERMUX_PKG_SHA256=910ce32c3b2f8cf70fa41982e1d2a130e81fd826d43e4a4cee3a74e2f4c15541
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2020-10-09 09:43:40 +02:00
|
|
|
|
|
|
|
termux_step_make() {
|
2020-11-08 22:09:08 +01:00
|
|
|
termux_setup_golang
|
2020-10-09 09:43:40 +02:00
|
|
|
cd "$TERMUX_PKG_SRCDIR"
|
|
|
|
mkdir -p "${TERMUX_PKG_BUILDDIR}/src/github.com/derailed"
|
|
|
|
cp -a "${TERMUX_PKG_SRCDIR}" "${TERMUX_PKG_BUILDDIR}/src/github.com/derailed/k9s"
|
|
|
|
cd "${TERMUX_PKG_BUILDDIR}/src/github.com/derailed/k9s"
|
|
|
|
|
2021-07-10 16:00:18 +02:00
|
|
|
go get -d -v
|
2020-10-09 09:43:40 +02:00
|
|
|
go build
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 ${TERMUX_PKG_BUILDDIR}/src/github.com/derailed/k9s/k9s \
|
|
|
|
$TERMUX_PREFIX/bin/k9s
|
|
|
|
}
|