void-packages/srcpkgs/comrak/template

25 lines
673 B
Bash

# Template file for 'comrak'
pkgname=comrak
version=0.15.0
revision=1
build_style=cargo
short_desc="CommonMark + GFM compatible Markdown parser and renderer"
maintainer="jcgruenhage <jan.christian@gruenhage.xyz>"
license="BSD-2-Clause"
homepage="https://github.com/kivikakk/comrak"
distfiles="https://github.com/kivikakk/comrak/archive/${version}.tar.gz"
checksum=ffac6192d71733f0fa9a1097b98e80c8ad0bb34ce8bec6afc2502b58aa1012b7
case "$XBPS_TARGET_MACHINE" in
# Tests don't compile on i686: ran out of registers during register allocation
i686*) make_check=no ;;
esac
post_patch() {
cargo update -p autocfg:1.0.1 --precise 1.1.0
}
post_install() {
vlicense COPYING
}