Files
termux-packages/packages/wego/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
660 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/schachmat/wego
TERMUX_PKG_DESCRIPTION="weather app for the terminal"
TERMUX_PKG_LICENSE="ISC"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.2"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/schachmat/wego/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=e7a6d40cb44f4408aedceebbed5854b3b992936cc762df6b76f5a9dca7909321
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 wego
}
termux_step_make_install() {
install -Dm755 -t "${TERMUX_PREFIX}"/bin wego
}