# Template file for 'jaq'
pkgname=jaq
version=2.0.1
revision=1
build_style=cargo
configure_args="--no-default-features"
make_install_args="--path jaq"
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"
checksum=e554f375500d09813c9a2f4454217b8d12ae3be5dba56bc545b199ae0d4ab72e

# uses machine-sized integers but tests run on 64 bit values
if [ "${XBPS_WORDSIZE}" = 32 ]; then
	make_check_args+=" -- --skip math_rem"
fi

post_install() {
	vlicense LICENSE-MIT
}
