void-packages/srcpkgs/mdcat/template
2018-09-02 15:16:55 -03:00

27 lines
680 B
Bash

# Template file for 'mdcat'
pkgname=mdcat
version=0.9.2
revision=2
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-2.0"
homepage="https://github.com/lunaryorn/mdcat"
distfiles="https://github.com/lunaryorn/mdcat/archive/mdcat-${version}.tar.gz"
checksum=50647d42abeea133430cac2d4eb6807ad19d7825996944338df5caaf39e4dc29
nocross=yes
do_build() {
cargo update --package openssl-sys --precise 0.9.28
cargo build --release ${makejobs}
}
do_check() {
cargo check --release
}
do_install() {
vbin target/release/${pkgname}
}