22 lines
539 B
Bash
22 lines
539 B
Bash
# Template file for 'hyperfine'
|
|
pkgname=hyperfine
|
|
version=0.4.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=9cece8a55793ce0807a6db755612407cc8a836f8adb9be95a2b1520dbfec4e17
|
|
nocross=yes
|
|
|
|
do_build() {
|
|
cargo build --release ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
vlicense LICENSE-MIT
|
|
vbin target/release/${pkgname}
|
|
}
|