void-packages/srcpkgs/hyperfine/template

23 lines
598 B
Bash

# Template file for 'hyperfine'
pkgname=hyperfine
version=1.1.0
revision=1
hostmakedepends="cargo"
short_desc="A command-line benchmarking tool "
maintainer="Wilson Birney <wpb@360scada.com>"
license="MIT"
homepage="https://github.com/sharkdp/hyperfine"
#changelog="https://github.com/sharkdp/hyperfine/releases"
distfiles="https://github.com/sharkdp/hyperfine/archive/v${version}.tar.gz"
checksum=2922bfd7128d8bac329eb73672dafc008bfb3bb01f94b81958f4d26a85d8a2cf
nocross=yes
do_build() {
cargo build --release ${makejobs}
}
do_install() {
vlicense LICENSE-MIT
vbin target/release/${pkgname}
}