diff --git a/srcpkgs/hyperfine/template b/srcpkgs/hyperfine/template new file mode 100644 index 00000000000..2c87e9fff12 --- /dev/null +++ b/srcpkgs/hyperfine/template @@ -0,0 +1,21 @@ +# Template file for 'hyperfine' +pkgname=hyperfine +version=0.3.0 +revision=1 +hostmakedepends="cargo" +short_desc="A command-line benchmarking tool " +maintainer="Wilson Birney " +license="MIT" +homepage="https://github.com/sharkdp/hyperfine" +distfiles="https://github.com/sharkdp/hyperfine/archive/v${version}.tar.gz" +checksum=75a5282d024dafc68537fbf9251e36710b6450ccaaec31a85f9459d3c82e5267 +nocross=yes + +do_build() { + cargo build --release ${makejobs} +} + +do_install() { + vlicense LICENSE-MIT + vbin target/release/${pkgname} +}