24 lines
730 B
Bash
24 lines
730 B
Bash
# Template file for 'hyperfine'
|
|
pkgname=hyperfine
|
|
version=1.16.1
|
|
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=ffb3298945cbe2c068ca1a074946d55b9add83c9df720eda2ed7f3d94d7e65d2
|
|
|
|
export SHELL_COMPLETIONS_DIR=${XBPS_BUILDDIR}/${pkgname}-${version}
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
vman doc/hyperfine.1
|
|
|
|
vcompletion hyperfine.bash bash
|
|
vcompletion hyperfine.fish fish
|
|
vcompletion _hyperfine zsh
|
|
}
|