mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
this is a million times faster new only in rust 1.68, and fails on older versions, but we have only latest in aports and don't support anything else, so it's okay.
26 lines
745 B
Text
26 lines
745 B
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=htmlq
|
|
pkgver=0.4.0
|
|
pkgrel=0
|
|
pkgdesc="Like jq, but for HTML"
|
|
url="https://github.com/mgdm/htmlq"
|
|
license="MIT"
|
|
arch="all !s390x !riscv64" # blocked by rust/cargo
|
|
options="!check" # no test suite
|
|
makedepends="cargo"
|
|
source="https://github.com/mgdm/htmlq/archive/v$pkgver/htmlq-$pkgver.tar.gz"
|
|
|
|
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
|
|
|
|
build() {
|
|
cargo build --release --locked
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/htmlq "$pkgdir"/usr/bin/htmlq
|
|
}
|
|
|
|
sha512sums="
|
|
3cbb53b66ca894b17c95487fe33a11587449af1b0acd5fa9e804b046e15fdd50a997b5367d0b00c20dce2587cfdf9d15b75cdd97007082928228a53b2f12fde7 htmlq-0.4.0.tar.gz
|
|
"
|