From bfed76aa87db4a56904942ce23dd09ecd7a64534 Mon Sep 17 00:00:00 2001 From: David Dobrinskiy Date: Sun, 26 Feb 2023 20:57:53 +0400 Subject: [PATCH] +crates.io/bottom --- projects/crates.io/bottom/package.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 projects/crates.io/bottom/package.yml diff --git a/projects/crates.io/bottom/package.yml b/projects/crates.io/bottom/package.yml new file mode 100644 index 00000000..390e6cae --- /dev/null +++ b/projects/crates.io/bottom/package.yml @@ -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}}" +