mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 08:42:11 +01:00
33 lines
728 B
Plaintext
33 lines
728 B
Plaintext
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
|
pkgname=jaq
|
|
pkgver=1.1.2
|
|
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"
|
|
|
|
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="
|
|
2043f1b4bd998de4e8df4de00b24df9220cfc031e506ecc9377775ebca49440cbc3dccf0c212eee7623d0e0959a902d258df5f2a9ca6c13879cea3e4f0982a20 jaq-1.1.2.tar.gz
|
|
"
|