MultiMarkdown: update to 6.3.2.

Closes #14717.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
Piotr Wójcik 2018-05-26 09:14:12 +02:00 committed by Enno Boland
parent 0c29e16542
commit 83e1fdad02
1 changed files with 6 additions and 28 deletions

View File

@ -1,38 +1,16 @@
# Template file for 'MultiMarkdown' # Template file for 'MultiMarkdown'
pkgname=MultiMarkdown pkgname=MultiMarkdown
version=5.4.0 version=6.3.2
revision=3 revision=1
build_style=cmake build_style=cmake
_greg_git=265003c8cb3022183f48df3e2684336b788af39d makedepends="libcurl-devel"
_cheatsheet_git=199dae83cfd22254a7b329450e48aaedb8d4d2e9
short_desc="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/"
distfiles="https://github.com/fletcher/MultiMarkdown-5/archive/$version.tar.gz distfiles="https://github.com/fletcher/MultiMarkdown-6/archive/$version.tar.gz"
https://github.com/ooc-lang/greg/archive/$_greg_git.tar.gz checksum=2b02c2b42a216128ee1596c93840c6e097155aa1c854578535dcf4a0c09b2ff9
https://github.com/fletcher/human-markdown-reference/archive/$_cheatsheet_git.tar.gz wrksrc="$pkgname-6-$version"
"
checksum="1cc0385ffd6c821c265e970f81cc4ec009c7ecbbfb12e0e115c7bb5b33d09a83
ada9df7bbd158472c33e6d84b62d0fb39bedd094201f44af1581f0cb468cdc73
f0176ec41692f275ef4f94c5b8a59e991576abf28ba374d96c34599282509364"
wrksrc=$pkgname-5-$version
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" $pkgname"
configure_args+=" -DIS_CROSSCOMPILING=On"
fi
pre_configure() {
rm -r submodules/*
ln -srf ../greg-$_greg_git submodules/greg
ln -srf ../human-markdown-reference-$_cheatsheet_git submodules/cheat-sheet
make -C submodules/greg CC=cc CFLAGS= LDFLAGS=
cp -a . /tmp/$pkgname.$$
mv /tmp/$pkgname.$$ submodules/documentation
mkdir -p build
touch build/README.html
}
post_install() { post_install() {
# TODO: markdown alternatives # TODO: markdown alternatives