mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-22 06:02:18 +02:00
27 lines
777 B
Plaintext
27 lines
777 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
|
pkgname=hyperfine
|
|
pkgver=1.8.0
|
|
pkgrel=0
|
|
pkgdesc="Command-line benchmarking tool"
|
|
url="https://github.com/sharkdp/hyperfine"
|
|
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # 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="ca9c0bc7c29bdfa6101dfe61ba78b999b3ce0b03059830daee4f312897db382cdfb9fc9d29aebfd1c0176fa0c88e6cbe43f6c5234f20473e8585ad59bc6c0772 hyperfine-1.8.0.tar.gz"
|