# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=monolith pkgver=2.7.0 pkgrel=1 pkgdesc="CLI tool for saving complete web pages as a single HTML file" url="https://github.com/Y2Z/monolith" # riscv64: rust is broken on this arch arch="all !riscv64" license="CC0-1.0" makedepends=" cargo cargo-auditable openssl-dev " source="https://github.com/Y2Z/monolith/archive/v$pkgver/monolith-$pkgver.tar.gz" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --frozen --release } check() { cargo test --frozen } package() { install -D -m755 target/release/$pkgname -t "$pkgdir"/usr/bin/ } sha512sums=" c3cd758990999790981d89bd0e81872107b9199cdc3d9a2059e129b426220d8a989582d6ef9e23351ad0f1352c083628090832ab368d37e39d313f2a18880d3e monolith-2.7.0.tar.gz "