mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
28 lines
549 B
YAML
28 lines
549 B
YAML
|
distributable:
|
||
|
url: https://github.com/ogham/dog/archive/refs/tags/v{{ version }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
provides:
|
||
|
- bin/dog
|
||
|
|
||
|
versions:
|
||
|
github: ogham/dog
|
||
|
strip: /v/
|
||
|
|
||
|
dependencies:
|
||
|
openssl.org: ^1.1
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: '>=1.56'
|
||
|
rust-lang.org/cargo: '*'
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script: |
|
||
|
cargo install --locked --path . --root {{prefix}}
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
- test "$(dog --version)" = "$OUTPUT"
|
||
|
env:
|
||
|
OUTPUT: "dog ● command-line DNS client\nv{{version}}\nhttps://dns.lookup.dog/"
|