MultiMarkdown: conflicts, add license, desc

Closes #6985
This commit is contained in:
Michael Gehring 2017-07-15 21:46:05 +00:00
parent a321918c89
commit 354e9795f2
1 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'MultiMarkdown' # Template file for 'MultiMarkdown'
pkgname=MultiMarkdown pkgname=MultiMarkdown
version=5.4.0 version=5.4.0
revision=1 revision=2
build_style=cmake build_style=cmake
_greg_git=265003c8cb3022183f48df3e2684336b788af39d _greg_git=265003c8cb3022183f48df3e2684336b788af39d
_cheatsheet_git=199dae83cfd22254a7b329450e48aaedb8d4d2e9 _cheatsheet_git=199dae83cfd22254a7b329450e48aaedb8d4d2e9
short_desc="a superset of the Markdown syntax" short_desc="Superset of the Markdown syntax"
maintainer="Enno Boland <gottox@voidlinux.eu>" maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT" license="MIT"
homepage="http://fletcherpenney.net/multimarkdown/" homepage="http://fletcherpenney.net/multimarkdown/"
@ -17,6 +17,7 @@ checksum="1cc0385ffd6c821c265e970f81cc4ec009c7ecbbfb12e0e115c7bb5b33d09a83
ada9df7bbd158472c33e6d84b62d0fb39bedd094201f44af1581f0cb468cdc73 ada9df7bbd158472c33e6d84b62d0fb39bedd094201f44af1581f0cb468cdc73
f0176ec41692f275ef4f94c5b8a59e991576abf28ba374d96c34599282509364" f0176ec41692f275ef4f94c5b8a59e991576abf28ba374d96c34599282509364"
wrksrc=$pkgname-5-$version wrksrc=$pkgname-5-$version
conflicts="mtools>0" # /usr/bin/mmd
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" $pkgname" hostmakedepends+=" $pkgname"
@ -37,4 +38,5 @@ pre_configure() {
# TODO: markdown alternatives # TODO: markdown alternatives
post_install() { post_install() {
mv $DESTDIR/usr/bin/markdown $DESTDIR/usr/bin/mmd_markdown mv $DESTDIR/usr/bin/markdown $DESTDIR/usr/bin/mmd_markdown
vlicense LICENSE.txt LICENSE
} }