mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-05 22:02:22 +02:00
37 lines
901 B
Plaintext
37 lines
901 B
Plaintext
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
|
pkgname=jaq
|
|
pkgver=1.5.1
|
|
pkgrel=0
|
|
pkgdesc="jq clone focused on correctness, speed and simplicity"
|
|
url="https://github.com/01mf02/jaq"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="cargo cargo-auditable"
|
|
source="
|
|
https://github.com/01mf02/jaq/archive/v$pkgver/jaq-$pkgver.tar.gz
|
|
cargo-update.patch
|
|
"
|
|
|
|
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="
|
|
f486292c0ba71fce482f382ad9d840f1cb136445350674b5533e7d47a5143466085a5b0bc49aa9615b29a71c40d6982bf126be12efec2c8125732a6459927145 jaq-1.5.1.tar.gz
|
|
44b5fb2e3d00835de1ef9252aa354ea6689d515d3c42ca12721a59f853672c3b32a9a3d0795a3c1f9b14b8d819c4d1c25294d3e309bab47e10fc51ea549d9522 cargo-update.patch
|
|
"
|