pandoc: update to 2.5.

Closes: #6800 [via git-merge-pr]
This commit is contained in:
marmeladema 2019-01-08 16:01:07 +00:00 committed by Leah Neukirchen
parent 5fa9ed61e4
commit 92640a145f

View file

@ -1,25 +1,25 @@
# Template file for 'pandoc' # Template file for 'pandoc'
pkgname=pandoc pkgname=pandoc
# Keep in sync with http://www.stackage.org/lts # Keep in sync with http://www.stackage.org/lts
version=2.2.1 version=2.5
revision=1 revision=1
_citeproc_version=0.14.3.1 _citeproc_version=0.15.0.1
create_wrksrc=yes
build_style=haskell-stack build_style=haskell-stack
stackage="lts-12.0"
make_build_args=" make_build_args="
--flag pandoc:embed_data_files --flag pandoc-citeproc:embed_data_files" --flag pandoc:embed_data_files --flag pandoc-citeproc:embed_data_files"
nocross=yes stackage="lts-13.2"
create_wrksrc=yes hostmakedepends="unzip wget"
hostmakedepends="unzip"
makedepends="zlib-devel" makedepends="zlib-devel"
short_desc="Universal converter between markup formats (with citeproc support)" short_desc="Universal converter between markup formats (with citeproc support)"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2" license="GPL-2.0-or-later"
homepage="http://johnmacfarlane.net/pandoc/" homepage="http://johnmacfarlane.net/pandoc/"
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz
http://hackage.haskell.org/package/${pkgname}-citeproc-${_citeproc_version}/${pkgname}-citeproc-${_citeproc_version}.tar.gz" http://hackage.haskell.org/package/${pkgname}-citeproc-${_citeproc_version}/${pkgname}-citeproc-${_citeproc_version}.tar.gz"
checksum="fe037f5fbb62fb27e7b1dbddfbd0aa45ea6e9fcdaff1f2203f7484c245b211b7 checksum="d57dc5db78a0a304de70436fe59a7599ab0c6d0fb2ab6704eeae498a4536222e
42c0b2c8365441bf884daa6202e6ed01b42181cf255406c88b3b31cd27cb467a" 29db5f2aad3225859727271855461724574f3695ab3856ceac33b24a55ae92f8"
nocross=yes
nopie_files=" nopie_files="
/usr/bin/pandoc /usr/bin/pandoc
/usr/bin/pandoc-citeproc /usr/bin/pandoc-citeproc
@ -27,6 +27,7 @@ nopie_files="
post_extract() { post_extract() {
sed -i 's/tasty .*,/tasty,/' pandoc-*/pandoc.cabal sed -i 's/tasty .*,/tasty,/' pandoc-*/pandoc.cabal
sed -i 's/zip-archive .*,/zip-archive,/' pandoc-*/pandoc.cabal
} }
post_install() { post_install() {
vman pandoc-${version}/man/pandoc.1 vman pandoc-${version}/man/pandoc.1