pantry/projects/crates.io/mdcat/package.yml
2023-04-15 18:02:07 -04:00

24 lines
442 B
YAML

distributable:
url: https://github.com/swsnr/mdcat/archive/refs/tags/mdcat-{{ version }}.tar.gz
strip-components: 1
provides:
- bin/mdcat
dependencies:
openssl.org: ^1.1
versions:
github: swsnr/mdcat/tags
strip: /mdcat-/
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
mdcat --version