hyperfine: use cargo buildstyle
This commit is contained in:
parent
1735f0b104
commit
4ae2170e77
1 changed files with 3 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'hyperfine'
|
# Template file for 'hyperfine'
|
||||||
pkgname=hyperfine
|
pkgname=hyperfine
|
||||||
version=1.3.0
|
version=1.3.0
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo"
|
build_style=cargo
|
||||||
short_desc="A command-line benchmarking tool "
|
short_desc="A command-line benchmarking tool "
|
||||||
maintainer="Wilson Birney <wpb@360scada.com>"
|
maintainer="Wilson Birney <wpb@360scada.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -10,13 +10,7 @@ homepage="https://github.com/sharkdp/hyperfine"
|
||||||
distfiles="https://github.com/sharkdp/hyperfine/archive/v${version}.tar.gz"
|
distfiles="https://github.com/sharkdp/hyperfine/archive/v${version}.tar.gz"
|
||||||
changelog="https://github.com/sharkdp/hyperfine/releases"
|
changelog="https://github.com/sharkdp/hyperfine/releases"
|
||||||
checksum=bab21d0dede8b437c0d4351d3959b3bfab8fe9f1d547997ed4d1d0f0c1d5801f
|
checksum=bab21d0dede8b437c0d4351d3959b3bfab8fe9f1d547997ed4d1d0f0c1d5801f
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
vbin target/release/${pkgname}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue