void-packages/srcpkgs/mdcat/template
2020-02-20 09:59:40 +01:00

21 lines
657 B
Bash

# Template file for 'mdcat'
pkgname=mdcat
version=0.15.1
revision=1
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=564d1b4afd44ed2e4d8095f95f5a49c08c321cd4074417b500076c966248aeea
pre_build() {
cargo update --package autocfg --precise 0.1.7
cargo update --package openssl-sys --precise 0.9.53
cargo update --package openssl --precise 0.10.26
}