25 lines
673 B
Bash
25 lines
673 B
Bash
# Template file for 'comrak'
|
|
pkgname=comrak
|
|
version=0.14.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=055fa44ef002a1a07853d3a4dd2a8c553a1dc58ff3809b4fa530ed35694d8571
|
|
|
|
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
|
|
}
|