+crates.io/bottom

This commit is contained in:
David Dobrinskiy 2023-02-26 20:57:53 +04:00 committed by Max Howell
parent 595af0c2f1
commit bfed76aa87

View file

@ -0,0 +1,25 @@
distributable:
url: https://codeload.github.com/ClementTsang/bottom/tar.gz/refs/tags/{{version}}
strip-components: 1
provides:
- bin/btm
versions:
github: ClementTsang/bottom/tags
strip: /v/
dependencies:
zlib.net: ^1
build:
dependencies:
rust-lang.org: '>=1.60'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script: |
test "$(btm --version)"="bottom {{version}}"