aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-05-26 09:09:51 +0300
committerRasmus Thomsen <oss@cogitri.dev>2020-05-26 20:35:56 +0000
commit12916081b0e1bce89a918239f91710c3228a1d3d (patch)
tree27218d32b69c8d2b4fba6175226419d11d4156eb
parent33c2125e094c1367bad0c4bd9760c2db12269267 (diff)
downloadaports-12916081b0e1bce89a918239f91710c3228a1d3d.tar.gz
aports-12916081b0e1bce89a918239f91710c3228a1d3d.tar.bz2
aports-12916081b0e1bce89a918239f91710c3228a1d3d.tar.xz
testing/hyperfine: upgrade to 1.10.0, add manpage
-rw-r--r--testing/hyperfine/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/hyperfine/APKBUILD b/testing/hyperfine/APKBUILD
index 7be5dda1be..f9fc98d995 100644
--- a/testing/hyperfine/APKBUILD
+++ b/testing/hyperfine/APKBUILD
@@ -8,19 +8,22 @@ 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"
+subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/hyperfine/archive/v$pkgver.tar.gz"
build() {
- cargo build --release --verbose
+ cargo build --release --locked
}
check() {
- cargo test all --release --verbose
+ cargo test all --release --locked
}
package() {
- cargo install --path . --root="$pkgdir"/usr
- rm "$pkgdir"/usr/.crates.toml
+ install -Dm755 target/release/hyperfine \
+ "$pkgdir"/usr/bin/hyperfine
+ install -Dm644 doc/hyperfine.1 \
+ "$pkgdir"/usr/share/man/man1/hyperfine.1
}
sha512sums="4d5a1549f8b35601fd1b3e2978c2a1be494adbcf3b614657005e4cf5b909bfb3999d4e31eb988d63cf20c2f41c0dcce1785306a46664d89357cec34c9a03c04a hyperfine-1.10.0.tar.gz"