hyperfine: initial commit, version 1.12.0
This commit is contained in:
parent
5487efa369
commit
99e3d25951
3
hyperfine/.footprint
Normal file
3
hyperfine/.footprint
Normal file
|
@ -0,0 +1,3 @@
|
|||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/hyperfine
|
5
hyperfine/.signature
Normal file
5
hyperfine/.signature
Normal file
|
@ -0,0 +1,5 @@
|
|||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF375Z3+aDEOaZPYJFbB49lFCxwpsBt5ZnP6gKWBDC+aYysT44hCeZFlzGmP5QbQ8AXitjmf+BBCj7380l+PBn4gQ=
|
||||
SHA256 (Pkgfile) = 89fe45f7736840becf37ace55a4c77b5119e135ea3d3278447d7e6e05efd107c
|
||||
SHA256 (.footprint) = 9690b0290d10204cca2c6ffa48becb9070f4355a02ed3e84781df47f847913b4
|
||||
SHA256 (hyperfine-1.12.0.tar.gz) = 2120870a97e68fa3426eac5646a071c9646e96d2309220e3c258bf588e496454
|
19
hyperfine/Pkgfile
Normal file
19
hyperfine/Pkgfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Description: A command-line benchmarking tool
|
||||
# URL: https://github.com/sharkdp/hyperfine
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust
|
||||
|
||||
name=hyperfine
|
||||
version=1.12.0
|
||||
release=1
|
||||
source=(https://github.com/sharkdp/hyperfine/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
||||
|
||||
cargo update --manifest-path $name-$version/Cargo.toml
|
||||
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
}
|
Loading…
Reference in New Issue
Block a user