mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
09d6925eaa
This commit has been automatically submitted by Github Actions.
22 lines
630 B
Bash
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.6"
|
|
TERMUX_PKG_SRCURL=https://github.com/mikefarah/yq/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=c0acef928168e5fdb26cd7e8320eddde822f30cf1942817f3f6b854dd721653f
|
|
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
|
|
}
|