Files
termux-packages/packages/wtfutil/build.sh
termux-pacman-bot 2ae2001e84 *: Rebuild with Go 1.21.0/1.20.7 (9)
Signed-off-by: Kevin WIlliams <admin@utermux.dev>
2023-08-12 12:01:41 +00:00

26 lines
581 B
Bash

TERMUX_PKG_HOMEPAGE=https://wtfutil.com/
TERMUX_PKG_DESCRIPTION="The personal information dashboard for your terminal"
TERMUX_PKG_LICENSE="MPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.43.0
TERMUX_PKG_REVISION=2
# Need metadata in Git repository
TERMUX_PKG_SRCURL=git+https://github.com/wtfutil/wtf
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
termux_setup_golang
go mod init || :
go mod tidy
}
termux_step_make() {
go build -o wtfutil
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin wtfutil
}