# Template file for 'jaq'
pkgname=jaq
version=3.1.1
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="9b8587436be48b5791c8276573321a3d4f404e0dc77ea6503d05725a55edd266
 795bded900db289a0a82cec1f0c66c768f878cbe9b337d892541606bfbb18f18"
skip_extraction="${version}_man"

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

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