blob: 21d52cf4aa6273b95f75614db41ea0657ee68eff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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 armv7 armhf aarch64 x86" # 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"
|