office/pandoc: Updated for version 1.9.4.2.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Peter Wang 2012-07-10 09:39:39 -04:00 committed by dsomero
parent 64d2a36560
commit 1dd4af77ea
3 changed files with 16 additions and 9 deletions

View File

@ -6,10 +6,13 @@ ODT, GNU Texinfo, MediaWiki markup, groff man pages, EPUB ebooks,
and S5 and Slidy HTML slide shows. PDF output (via LaTeX) is also supported
with the included markdown2pdf wrapper script.
This requires ghc, haskell-binary, haskell-mtl, haskell-digest, haskell-zlib,
haskell-utf8-string, haskell-zip-archive, haskell-parsec, haskell-xml,
haskell-texmath, haskell-xhtml, haskell-network, haskell-HTTP,
haskell-dlist, haskell-base64-bytestring, haskell-json, haskell-tagsoup,
This requires ghc, haskell-transformers, haskell-mtl, haskell-text,
haskell-digest, haskell-zlib, haskell-utf8-string, haskell-zip-archive,
haskell-parsec, haskell-syb, haskell-xml, haskell-texmath,
haskell-network, haskell-HTTP, haskell-base64-bytestring,
haskell-json, haskell-tagsoup, haskell-random, haskell-temporary,
haskell-blaze-builder, haskell-blaze-markup, haskell-blaze-html,
haskell-regex-base, haskell-regex-pcre-builtin, haskell-highlighting-kate,
haskell-pandoc-types and haskell-citeproc-hs.
When uninstalling, run this command to unregister the package from the ghc

View File

@ -6,7 +6,7 @@
# Public domain.
PRGNAM=pandoc
VERSION=${VERSION:-1.8.2.1}
VERSION=${VERSION:-1.9.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -59,6 +59,7 @@ CXXFLAGS="$SLKCFLAGS" \
runghc Setup.hs configure \
--prefix=/usr \
--enable-shared \
--enable-executable-dynamic \
--libdir=/usr/lib$LIBDIRSUFFIX \
--libsubdir=ghc-$GHC_VERSION/$PRGNAM-$VERSION \
--docdir=/usr/doc/$PRGNAM-$VERSION
@ -69,7 +70,10 @@ runghc Setup.hs copy --destdir=$PKG
runghc Setup.hs register --gen-pkg-config
mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Fix man page permissions as they are wrong.
find $PKG/usr/man -type f \
-exec chmod 644 {} \; \
-exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d

View File

@ -1,8 +1,8 @@
PRGNAM="pandoc"
VERSION="1.8.2.1"
VERSION="1.9.4.2"
HOMEPAGE="http://johnmacfarlane.net/pandoc/"
DOWNLOAD="http://hackage.haskell.org/packages/archive/pandoc/1.8.2.1/pandoc-1.8.2.1.tar.gz"
MD5SUM="14ee1d068ca6b6b9f57c12bb45ba42db"
DOWNLOAD="http://hackage.haskell.org/packages/archive/pandoc/1.9.4.2/pandoc-1.9.4.2.tar.gz"
MD5SUM="c099360947d0cbb90608ce2f6a217071"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Peter Wang"