void-packages/srcpkgs/MultiMarkdown/template
2019-12-15 18:32:18 +01:00

22 lines
744 B
Bash

# Template file for 'MultiMarkdown'
pkgname=MultiMarkdown
version=6.5
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=ca1caf5f8e791d5b30de29ef5353e64e372e1a72df3a6b5b1dcb9b50e9972850
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.txt LICENSE
}