2022-03-14 01:56:27 +01:00
|
|
|
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"
|
2022-04-18 02:24:18 +02:00
|
|
|
TERMUX_PKG_VERSION="4.24.5"
|
2022-03-14 01:56:27 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/mikefarah/yq/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
2022-04-18 02:24:18 +02:00
|
|
|
TERMUX_PKG_SHA256=8ffab12d2d527f0ac62823777201f8e5e78c9af5c754914274db2733da98c796
|
2022-03-14 01:56:27 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2022-04-16 12:31:39 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2022-03-14 01:56:27 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|