# Template file for 'xq'
pkgname=xq
version=1.5.0
revision=1
build_style=go
go_import_path=github.com/sibprogrammer/xq
make_check_args="-covermode=atomic"
short_desc="Command-line XML and HTML beautifier and content extractor"
maintainer="Emil Miler <em@0x45.cz>"
license="MIT"
homepage="https://github.com/sibprogrammer/xq"
distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
checksum=11420d1e4c8ac1eae0c99e33071f8f10e4c12ecd65cbffcad8a36ca65ae7134a

post_install() {
	mv "$DESTDIR/usr/bin/"{xq,xq-go}
	vman docs/xq.man xq-go.1
	vlicense LICENSE
}
