mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
30 lines
573 B
YAML
30 lines
573 B
YAML
|
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}}"
|