hyperfine: use cargo buildstyle
This commit is contained in:
parent
1735f0b104
commit
4ae2170e77
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'hyperfine'
|
||||
pkgname=hyperfine
|
||||
version=1.3.0
|
||||
revision=1
|
||||
hostmakedepends="cargo"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
short_desc="A command-line benchmarking tool "
|
||||
maintainer="Wilson Birney <wpb@360scada.com>"
|
||||
license="MIT"
|
||||
|
@ -10,13 +10,7 @@ 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() {
|
||||
post_install() {
|
||||
vlicense LICENSE-MIT
|
||||
vbin target/release/${pkgname}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue