void-packages/srcpkgs/hyperfine/template
maxice8 6d46bc8826 hyperfine: update to 0.5.0.
Closes: #12079 [via git-merge-pr]
2018-03-05 21:00:12 -08:00

21 lines
539 B
Bash

# Template file for 'hyperfine'
pkgname=hyperfine
version=0.5.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"
distfiles="https://github.com/sharkdp/hyperfine/archive/v${version}.tar.gz"
checksum=59d6c2574cbcd2970673e82c11345e13c5333daecbcc6d4259ad218ccf1acfb3
nocross=yes
do_build() {
cargo build --release ${makejobs}
}
do_install() {
vlicense LICENSE-MIT
vbin target/release/${pkgname}
}