void-packages/srcpkgs/comrak/template

24 lines
677 B
Bash

# Template file for 'comrak'
pkgname=comrak
version=0.13.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=e4b65fd55ef0dfc3835f24a5234a52b457534a2b500971f4c2e800f4ee889a69
case "$XBPS_TARGET_MACHINE" in
i686*) broken="LLVM ran out of registers during register allocation: https://pastebin.com/raw/DLCa9nEz" ;;
esac
post_patch() {
cargo update -p autocfg:1.0.1 --precise 1.1.0
}
post_install() {
vlicense COPYING
}