1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 23:47:06 +00:00
termux-packages/packages/teleport-tsh/build.sh
Termux Github Actions 2d55653df1 bump(main/teleport-tsh): 15.2.1
This commit has been automatically submitted by Github Actions.
2024-04-06 00:28:10 +00:00

22 lines
711 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="15.2.1"
TERMUX_PKG_SRCURL=https://github.com/gravitational/teleport/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=9527647943de8360fb0020841e00466c59af54633a646ee2cdc0af042d0fe086
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
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
}