0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-07 20:10:04 +00:00
Termux Github Actions 87f638fbac bump(main/teleport-tsh): 17.1.6
This commit has been automatically submitted by Github Actions.
2025-01-14 08:04:12 +00:00

32 lines
913 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/gravitational/teleport
TERMUX_PKG_DESCRIPTION="Secure Access for Developers that doesn't get in the way"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="17.1.6"
TERMUX_PKG_SRCURL=https://github.com/gravitational/teleport/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=ad309d5e21cbe0414889fc2518196b8d30645ae150e66a0f7e8b7310b6ef213e
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_HOSTBUILD=true
termux_step_host_build() {
termux_setup_golang
pushd "$TERMUX_PKG_SRCDIR"
# from Makefile
export KUBECTL_VERSION=$(go run ./build.assets/kubectl-version/main.go)
popd
}
termux_step_make() {
termux_setup_golang
export GOPATH=$TERMUX_PKG_CACHEDIR/go
export BUILDDIR=$TERMUX_PKG_SRCDIR/cmd
make $BUILDDIR/tsh
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin $BUILDDIR/tsh
}