0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
Termux Github Actions d68b29564c bump(main/kubecolor): 0.5.0
This commit has been automatically submitted by Github Actions.
2025-01-13 18:11:03 +00:00

23 lines
709 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/kubecolor/kubecolor
TERMUX_PKG_DESCRIPTION="Colorize your kubectl output"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Kalle Fagerberg @applejag"
TERMUX_PKG_VERSION="0.5.0"
TERMUX_PKG_SRCURL=https://github.com/kubecolor/kubecolor/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=251b3e2e84bd3574a9c628961066c8b41c403de6ecfb83b7aebd0dd5d7018290
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="kubectl"
termux_step_pre_configure() {
termux_setup_golang
}
termux_step_make() {
go build -o kubecolor -ldflags "-X main.Version=v${TERMUX_PKG_VERSION}"
}
termux_step_make_install() {
install -Dm700 kubecolor "$TERMUX_PREFIX/bin"
}