# Contributor: Leo # Maintainer: Leo pkgname=hyperfine pkgver=1.7.0 pkgrel=0 pkgdesc="Command-line benchmarking tool" url="https://github.com/sharkdp/hyperfine" arch="x86_64 armv7 armhf aarch64 x86" # 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="31f9964b23fa828745fdfc10dc041093f9da67b1a72e401c4b970e201b364535efbc4de86c829900f8c92253502e3ff3e4ec098afbe1b9de75da1e0b82432a2b hyperfine-1.7.0.tar.gz"