void-packages/srcpkgs/mdcat/template
2019-06-14 12:59:16 +02:00

21 lines
657 B
Bash

# Template file for 'mdcat'
pkgname=mdcat
version=0.13.0
revision=2
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=cargo
hostmakedepends="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=9528a0dedcb9db559c9973001787f474f87559366a2c7a2ff01148c5ab31eac1
pre_build() {
cargo update --package autocfg --precise 0.1.4
cargo update --package openssl-sys --precise 0.9.46
cargo update --package openssl --precise 0.10.22
}