22 lines
821 B
Bash
22 lines
821 B
Bash
# Template file for 'hyperfine'
|
|
pkgname=hyperfine
|
|
version=1.13.0
|
|
revision=1
|
|
build_style=cargo
|
|
short_desc="Command-line benchmarking tool"
|
|
maintainer="Wilson Birney <wpb@360scada.com>"
|
|
license="MIT, Apache-2.0"
|
|
homepage="https://github.com/sharkdp/hyperfine"
|
|
changelog="https://raw.githubusercontent.com/sharkdp/hyperfine/master/CHANGELOG.md"
|
|
distfiles="https://github.com/sharkdp/hyperfine/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=6e57c8e51962dd24a283ab46dde6fe306da772f4ef9bad86f8c89ac3a499c87e
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
vman doc/hyperfine.1
|
|
|
|
cd "target/${RUST_TARGET}/release/build/hyperfine-"*/out
|
|
vinstall hyperfine.bash 644 usr/share/bash-completion/completions hyperfine
|
|
vinstall hyperfine.fish 644 usr/share/fish/vendor_completions.d
|
|
vinstall _hyperfine 644 usr/share/zsh/site-functions
|
|
}
|