Files
termux-packages/root-packages/nexttrace-enhanced/build.sh
termux-pacman-bot 36c5a0d7ee bump(root/nexttrace-enhanced): 1.2.8
This commit has been automatically submitted by Github Actions.
2023-12-20 06:31:06 +00:00

25 lines
691 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/nxtrace/Ntrace-V1
TERMUX_PKG_DESCRIPTION="An open source visual routing tool that pursues light weight"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.2.8"
TERMUX_PKG_SRCURL=https://github.com/nxtrace/Ntrace-V1/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=3984f137d3a306c3db7e0c14c7fb41ef303c3162921e46fc9bff196f9c4ba7f8
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
termux_step_pre_configure() {
termux_setup_golang
go mod init || :
go mod tidy
}
termux_step_make() {
go build -o nexttrace
}
termux_step_make_install() {
install -Dm700 -t "${TERMUX_PREFIX}"/bin nexttrace
}