Files
termux-packages/packages/wtfutil/build.sh
termux-pacman-bot a6d256f0c0 bump(main/wtfutil): 0.48.0
This commit has been automatically submitted by Github Actions.
2025-12-20 00:50:44 +00:00

25 lines
561 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.48.0"
# 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
}