add mdcat (#438)

* add mdcat

* fix: +aws.amazon.com/cli remove `_awscli` symlink (#437)

* add build script

* wip

* add pkg-config dep

---------

Co-authored-by: Ramazan Elsunakev <35545693+relsunkaev@users.noreply.github.com>
Co-authored-by: Max Howell <mxcl@me.com>
Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
shedali 2023-03-06 19:54:51 +00:00 committed by GitHub
parent e2e2e4160e
commit 790a3bd160
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
distributable:
url: https://github.com/swsnr/mdcat/archive/refs/tags/mdcat-{{ version }}.tar.gz
strip-components: 1
provides:
- bin/mdcat
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