# Maintainer: Hoang Nguyen pkgname=jaq pkgver=0.10.0 pkgrel=1 pkgdesc="jq clone focused on correctness, speed and simplicity" url="https://github.com/01mf02/jaq" # riscv64: build failed arch="all !riscv64" license="MIT" makedepends="cargo cargo-auditable" source="https://github.com/01mf02/jaq/archive/v$pkgver/$pkgname-$pkgver.tar.gz" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --frozen --release } check() { cargo test --frozen } package() { install -Dm755 target/release/jaq -t "$pkgdir"/usr/bin/ } sha512sums=" 79cda545c535aaaf6024812de3eb04a7af32ebd0fc820aafbe5277b7c1f5b6dc6ae681423cfb1b65d66649d7f7fe0787b83c5d9a5733ad839b48a95c33dedcfb jaq-0.10.0.tar.gz "