yq-go: update to 4.23.1.

This commit is contained in:
Frank Steinborn 2022-04-01 16:18:49 +02:00 committed by Echo
parent b7440749b2
commit 89de7311e4

View file

@ -1,6 +1,6 @@
# Template file for 'yq-go'
pkgname=yq-go
version=4.21.1
version=4.23.1
revision=1
wrksrc="yq-${version}"
build_style=go
@ -11,14 +11,14 @@ license="MIT"
homepage="https://github.com/mikefarah/yq"
changelog="https://raw.githubusercontent.com/mikefarah/yq/master/release_notes.txt"
distfiles="https://github.com/mikefarah/yq/archive/v${version}.tar.gz"
checksum=27ba049e24a2f40db4010ad6574ce866fa1d43f4cb064de286e344e3c7911ef0
checksum=f55ffb9c6d7926b06d5862eb6a9e9ea942ec2883286df8e2e3d6f0716cc36eed
do_check() {
go test -v
}
post_install() {
# this came after yq 'the jq wrapper for yaml' so yq has the right tp
# this came after yq 'the jq wrapper for yaml' so yq has the right to
# /usr/bin/yq, rename it to yq-go
mv -v "${DESTDIR}"/usr/bin/{yq,yq-go}