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

30 lines
573 B
YAML
Raw Normal View History

distributable:
url: https://github.com/chaaz/versio/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/versio
versions:
github: chaaz/versio
strip: /v/
dependencies:
openssl.org: ^1.1
gnupg.org/libgpg-error: 1
gnupg.org/gpgme: ^1.13
gnupg.org/libassuan: '*'
zlib.net: ^1
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(versio --version)" = "versio {{version}}"