991aa32566
Citeproc support is build in now. The change of maintainership was suggested by Leah.
40 lines
1.5 KiB
Bash
40 lines
1.5 KiB
Bash
# Template file for 'pandoc'
|
|
pkgname=pandoc
|
|
# Keep in sync with http://www.stackage.org/lts
|
|
version=2.11.4
|
|
revision=2
|
|
_sidenote_version=0.20.0
|
|
_monad_gen_version=0.3.0.1
|
|
create_wrksrc=yes
|
|
build_style=haskell-stack
|
|
stackage="lts-17.5"
|
|
make_build_args="
|
|
--flag pandoc:embed_data_files --flag=hslua:system-lua
|
|
--flag=hslua:pkg-config"
|
|
hostmakedepends="pkg-config unzip wget"
|
|
makedepends="zlib-devel lua53-devel tar"
|
|
short_desc="Universal converter between markup formats"
|
|
maintainer="slotThe <soliditsallgood@mailbox.org>"
|
|
license="GPL-2.0-or-later, BSD-3-Clause, MIT"
|
|
homepage="http://johnmacfarlane.net/pandoc/"
|
|
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz
|
|
https://github.com/jez/${pkgname}-sidenote/archive/${_sidenote_version}.tar.gz \
|
|
https://hackage.haskell.org/package/monad-gen-${_monad_gen_version}/monad-gen-${_monad_gen_version}.tar.gz"
|
|
checksum="d3cfc700a2d5d90133f83ae9d286edbe1144bc6a7748d8d90e4846d6e2331af5
|
|
34ee7f46d6472c04884b1dcb030d701a32b885d9b0d4307d2c0da327a359cb7a
|
|
be8485023fce236b5b915f2f6074f7b0470a2040f84cdd137c5227f1b4c98465"
|
|
nocross=yes
|
|
nopie_files="
|
|
/usr/bin/pandoc
|
|
/usr/bin/pandoc-sidenote
|
|
"
|
|
|
|
post_extract() {
|
|
sed -i 's/tasty .*,/tasty,/' pandoc-*/pandoc.cabal
|
|
sed -i 's/zip-archive .*,/zip-archive,/' pandoc-*/pandoc.cabal
|
|
}
|
|
post_install() {
|
|
vman pandoc-${version}/man/pandoc.1
|
|
vlicense pandoc-${version}/COPYRIGHT LICENSE.pandoc
|
|
vlicense pandoc-sidenote-${_sidenote_version}/LICENSE LICENSE.pandoc-sidenote
|
|
}
|