mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-29 01:22:09 +02:00
27 lines
745 B
Plaintext
27 lines
745 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
|
pkgname=hyperfine
|
|
pkgver=1.6.0
|
|
pkgrel=0
|
|
pkgdesc="Command-line benchmarking tool"
|
|
url="https://github.com/sharkdp/hyperfine"
|
|
arch="x86_64" # Limited by cargo
|
|
license="Apache-2.0 AND MIT"
|
|
makedepends="cargo"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/hyperfine/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cargo build --release --verbose
|
|
}
|
|
|
|
check() {
|
|
cargo test all --release --verbose
|
|
}
|
|
|
|
package() {
|
|
cargo install --path . --root="$pkgdir"/usr
|
|
rm "$pkgdir"/usr/.crates.toml
|
|
}
|
|
|
|
sha512sums="102d8a3912b8cc63eb799da08f73e03ce18a2d2a8148e7d53588b85f06aaae079c0a0b5eb4f11923b73ea7b330f3e935c088a4edd1d9ec51d6a0b3ab435333a3 hyperfine-1.6.0.tar.gz"
|