void-packages/srcpkgs/comrak/template

24 lines
737 B
Bash

# Template file for 'comrak'
pkgname=comrak
version=0.18.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="oniguruma-devel"
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"
changelog="https://github.com/kivikakk/comrak/raw/main/changelog.txt"
distfiles="https://github.com/kivikakk/comrak/archive/${version}.tar.gz"
checksum=fce21e382e3c21064a364c6993ff6387fd481efd859c71c7e059cbfcdf14e832
case "$XBPS_TARGET_MACHINE" in
# Tests don't compile on i686: ran out of registers during register allocation
i686*) make_check=no ;;
esac
post_install() {
vlicense COPYING
}