void-packages/srcpkgs/mdcat/template
maxice8 b876303a1d mdcat: update to 0.8.0.
Closes: #11501 [via git-merge-pr]
2018-03-06 20:05:28 -08:00

26 lines
633 B
Bash

# Template file for 'mdcat'
pkgname=mdcat
version=0.8.0
revision=1
wrksrc=${pkgname}-${pkgname}-${version}
hostmakedepends="cargo cmake pkg-config"
makedepends="libressl-devel"
short_desc="Cat for markdown"
maintainer="Wilson Birney <wpb@360scada.com>"
license="Apache License 2.0"
homepage="https://github.com/lunaryorn/mdcat"
distfiles="https://github.com/lunaryorn/mdcat/archive/mdcat-${version}.tar.gz"
checksum=fb4ce097fff72fb53734568a8a1b96797cbedfbee2aabc2d2a5e8c794b1d5887
nocross=yes
do_build() {
cargo build --release ${makejobs}
}
do_check() {
cargo check --release
}
do_install() {
vbin target/release/${pkgname}
}