mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 23:32:47 +01:00
25 lines
692 B
Plaintext
25 lines
692 B
Plaintext
# 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"
|
|
|
|
build() {
|
|
cargo build --release --locked
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/htmlq "$pkgdir"/usr/bin/htmlq
|
|
}
|
|
|
|
sha512sums="
|
|
3cbb53b66ca894b17c95487fe33a11587449af1b0acd5fa9e804b046e15fdd50a997b5367d0b00c20dce2587cfdf9d15b75cdd97007082928228a53b2f12fde7 htmlq-0.4.0.tar.gz
|
|
"
|