25 lines
711 B
Bash
25 lines
711 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/OwO-Network/nexttrace-enhanced
|
|
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="0.3.0-beta.2"
|
|
TERMUX_PKG_SRCURL=https://github.com/OwO-Network/nexttrace-enhanced/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=abc896e83ff1e6f308233b8d8c251eef8cb67c6236cb3d37cf837ea66f6c7c0c
|
|
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
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t "${TERMUX_PREFIX}"/bin nexttrace
|
|
}
|