pandoc: update to 2.1.2.

This commit is contained in:
Leah Neukirchen 2018-03-13 14:47:38 +01:00
parent 0bd0c6595a
commit d3279e3c23
1 changed files with 9 additions and 6 deletions

View File

@ -1,16 +1,16 @@
# Template file for 'pandoc'
pkgname=pandoc
# Keep in sync with http://www.stackage.org/lts
version=2.0.6
version=2.1.2
revision=1
_citeproc_version=0.12.2.2
_citeproc_version=0.14.1.5
build_style=haskell-stack
stackage="lts-10.2"
stackage="lts-11.0"
make_build_args="--flag pandoc:-old-locale
--flag pandoc:embed_data_files --flag pandoc-citeproc:embed_data_files"
nocross=yes
create_wrksrc=yes
hostmakedepends="hsb2hs"
hostmakedepends="hsb2hs unzip"
makedepends="zlib-devel"
short_desc="Universal converter between markup formats (with citeproc support)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
@ -18,13 +18,16 @@ license="GPL-2"
homepage="http://johnmacfarlane.net/pandoc/"
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"
checksum="f2f236e91986b522510c7ea8212c1641da6006d0acec3e6b587a4e4faf3612ee
8209341dfc1496920e8b357c56bdef382ecf57fa3fcb9d2befa5ce3bef099f01"
checksum="dc0b26eff61c6eed2e00927fa2c6b966ca758dea1596f3049cc70ae8b650eb65
29e2afcdaaa23e5ac30e7f895bb45d36e0af79d4cfe769deb36c6f25fabfe2ca"
nopie_files="
/usr/bin/pandoc
/usr/bin/pandoc-citeproc
"
post_extract() {
sed -i '/http-types/s/0.12/0.13/' ${pkgname}-${version}/${pkgname}.cabal
}
post_install() {
vman pandoc-${version}/man/pandoc.1
vman pandoc-citeproc-${_citeproc_version}/man/man1/pandoc-citeproc.1