28 lines
1.2 KiB
Bash
28 lines
1.2 KiB
Bash
# Template file for 'pandoc'
|
|
pkgname=pandoc
|
|
# Keep in sync with http://www.stackage.org/lts
|
|
version=1.15.0.6
|
|
revision=2
|
|
_citeproc_version=0.7.3.1
|
|
build_style=haskell-stack
|
|
stackage="lts-3.5"
|
|
make_build_args="--flag pandoc:-old-locale --flag pandoc:embed_data_files"
|
|
nocross=yes
|
|
create_wrksrc=yes
|
|
hostmakedepends="ghc stack hsb2hs"
|
|
makedepends="zlib-devel"
|
|
short_desc="Universal converter between markup formats (with citeproc support)"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
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="d950968142526d5a765af7dfb26b47c3f60d4f883aa9d9eab668614179f1ed46
|
|
b2e9b814603dbb60b845fa14d767a154e43a2115a9a81b218a173e9bc1a319f5"
|
|
|
|
post_install() {
|
|
vman pandoc-${version}/man/pandoc.1
|
|
vman pandoc-citeproc-${_citeproc_version}/man/man1/pandoc-citeproc.1
|
|
vlicense pandoc-${version}/COPYRIGHT LICENSE.pandoc
|
|
vlicense pandoc-citeproc-${_citeproc_version}/LICENSE LICENSE.pandoc-citeproc
|
|
}
|