# Template file for 'jaq'
pkgname=jaq
version=3.1.0
revision=1
build_style=cargo
build_wrksrc="jaq"
configure_args="--no-default-features"
short_desc="Clone of jq, focussed on correctness, speed, and simplicity"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://github.com/01mf02/jaq"
changelog="https://github.com/01mf02/jaq/releases"
distfiles="https://github.com/01mf02/jaq/archive/refs/tags/v${version}.tar.gz
 https://github.com/01mf02/jaq/releases/download/v${version}/jaq.1>${version}_man"
checksum="8ad074d7e90e07ad7e77048dcf0d0e7ad434b8e3e38044260b9457d4551e644d
 f7b1a9447fd7681befe793a5c65e7acbbd08a7eb9d5f4ad61945270d41baf0c9"
skip_extraction="${version}_man"

post_extract() {
	vsrccopy ${version}_man .
	mv ${version}_man jaq.1
}

post_install() {
	vlicense ../LICENSE-MIT
	vman ../jaq.1
}
