void-packages/srcpkgs/MultiMarkdown/template
2020-11-09 12:59:13 -05:00

22 lines
734 B
Bash

# Template file for 'MultiMarkdown'
pkgname=MultiMarkdown
version=6.6.0
revision=1
wrksrc="$pkgname-6-$version"
build_style=cmake
hostmakedepends="perl"
makedepends="libcurl-devel"
short_desc="Superset of the Markdown syntax"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="http://fletcherpenney.net/multimarkdown/"
distfiles="https://github.com/fletcher/MultiMarkdown-6/archive/${version}.tar.gz"
checksum=6496b43c933d2f93ff6be80f5029d37e9576a5d5eacb90900e6b28c90405037f
post_install() {
# TODO: markdown alternatives
mv ${DESTDIR}/usr/bin/markdown ${DESTDIR}/usr/bin/multimarkdown-markdown
# Avoid conflict with mtools
mv ${DESTDIR}/usr/bin/mmd ${DESTDIR}/usr/bin/multimarkdown-mmd
vlicense LICENSE
}