void-packages/srcpkgs/hyperfine/template

23 lines
597 B
Bash

# Template file for 'hyperfine'
pkgname=hyperfine
version=1.3.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=bab21d0dede8b437c0d4351d3959b3bfab8fe9f1d547997ed4d1d0f0c1d5801f
nocross=yes
do_build() {
cargo build --release ${makejobs}
}
do_install() {
vlicense LICENSE-MIT
vbin target/release/${pkgname}
}