pantry/projects/crates.io/rage/package.yml

25 lines
511 B
YAML
Raw Normal View History

2023-08-22 21:37:22 +03:00
distributable:
url: https://github.com/str4d/rage/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/rage
2023-08-24 02:10:25 +03:00
- bin/rage-keygen
2023-08-22 21:37:22 +03:00
versions:
github: str4d/rage
strip: /v/
build:
working-directory: rage
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
script: |
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(rage --version)" = "rage {{version}}"
2023-08-24 02:10:25 +03:00
- test "$(rage-keygen --version)" = "rage-keygen {{version}}"