Files
termux-packages/packages/yq/build.sh
termux-pacman-bot 7e1600e83f bump(main/yq): 4.44.3
This commit has been automatically submitted by Github Actions.
2024-08-05 12:47:16 +00:00

22 lines
630 B
Bash

TERMUX_PKG_HOMEPAGE=https://mikefarah.gitbook.io/yq/
TERMUX_PKG_DESCRIPTION="A lightweight and portable command-line YAML, JSON and XML processor"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="4.44.3"
TERMUX_PKG_SRCURL=https://github.com/mikefarah/yq/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ea950f5622480fc0ff3708c52589426a737cd4ec887a52922a74efa1be8f2fbf
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
termux_step_make() {
termux_setup_golang
go mod init || :
go mod tidy
go build
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin yq
}