void-packages/srcpkgs/MultiMarkdown/template
Piotr Wójcik 83e1fdad02 MultiMarkdown: update to 6.3.2.
Closes #14717.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-26 14:10:43 +02:00

21 lines
720 B
Bash

# Template file for 'MultiMarkdown'
pkgname=MultiMarkdown
version=6.3.2
revision=1
build_style=cmake
makedepends="libcurl-devel"
short_desc="Superset of the Markdown syntax"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="http://fletcherpenney.net/multimarkdown/"
distfiles="https://github.com/fletcher/MultiMarkdown-6/archive/$version.tar.gz"
checksum=2b02c2b42a216128ee1596c93840c6e097155aa1c854578535dcf4a0c09b2ff9
wrksrc="$pkgname-6-$version"
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
}