# Contributor: Leo # Maintainer: Leo pkgname=hyperfine pkgver=1.5.0 pkgrel=0 pkgdesc="Command-line benchmarking tool" url="https://github.com/sharkdp/hyperfine" arch="x86_64" # Limited by cargo license="Apache-2.0 AND MIT" makedepends="cargo" source="$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/hyperfine/archive/v$pkgver.tar.gz" build() { cargo build --release --verbose } check() { cargo test all --release --verbose } package() { cargo install --path . --root="$pkgdir"/usr rm "$pkgdir"/usr/.crates.toml } sha512sums="05afb4b782bfbfff8bffb9809bae98e69a8f6e44d2d03154a9c6fcffe68309429241fe3ff446f92ea9496c674dbaa3fac63644fc14902901f3aa614c16dc96b9 hyperfine-1.5.0.tar.gz"