void-packages/srcpkgs/hyperfine/template

23 lines
597 B
Bash

# Template file for 'hyperfine'
pkgname=hyperfine
version=1.2.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"
changelog="https://github.com/sharkdp/hyperfine/releases"
checksum=324ab37890a1cc64680b0e5eae03eebda53b6005166148150a7c82f045e7015b
nocross=yes
do_build() {
cargo build --release ${makejobs}
}
do_install() {
vlicense LICENSE-MIT
vbin target/release/${pkgname}
}