void-packages/srcpkgs/yq-go/template
Michael Gehring 6a61601a2e yq-go: broken
2018-05-04 02:11:34 +00:00

29 lines
830 B
Bash

# Template file for 'yq-go'
pkgname=yq-go
version=1.14.1
revision=4
wrksrc="yq-${version}"
build_style=go
go_import_path="github.com/mikefarah/yq"
hostmakedepends="git"
short_desc="A lightweight and portable command-line YAML processor written in go"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/mikefarah/yq"
distfiles="https://github.com/mikefarah/yq/archive/${version}.tar.gz"
checksum=585f1ad1be9e9ae00f81998fddef9c1970057dad4b18abef8999f1214c221b2b
replaces="yaml>=0"
broken="https://build.voidlinux.eu/builders/aarch64_builder/builds/9780/steps/shell_3/logs/stdio"
do_check() {
go test -v
}
post_install() {
# this came after yq 'the jq wrapper for yaml' so yq has the right tp
# /usr/bin/yq, rename it to yq-go
mv -v "${DESTDIR}"/usr/bin/{yq,yq-go}
vlicense LICENSE
}