summaryrefslogtreecommitdiff
path: root/office/pandoc
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2012-07-10 09:39:39 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-07-10 09:39:39 -0400
commit1dd4af77ea50a0dda5b40b3fcace922736779531 (patch)
treec907534b6ac09590f7b018cb53e3c34cb1bde922 /office/pandoc
parent64d2a36560d24800e83a8ea7ef1deaa6f0a1dd64 (diff)
downloadslackbuilds-1dd4af77ea50a0dda5b40b3fcace922736779531.tar.gz
office/pandoc: Updated for version 1.9.4.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/pandoc')
-rw-r--r--office/pandoc/README11
-rw-r--r--office/pandoc/pandoc.SlackBuild8
-rw-r--r--office/pandoc/pandoc.info6
3 files changed, 16 insertions, 9 deletions
diff --git a/office/pandoc/README b/office/pandoc/README
index fee08f1a5c..9d3fe21406 100644
--- a/office/pandoc/README
+++ b/office/pandoc/README
@@ -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
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild
index 6454d0b819..dccae617d0 100644
--- a/office/pandoc/pandoc.SlackBuild
+++ b/office/pandoc/pandoc.SlackBuild
@@ -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
diff --git a/office/pandoc/pandoc.info b/office/pandoc/pandoc.info
index 569691163c..f0aa74ba61 100644
--- a/office/pandoc/pandoc.info
+++ b/office/pandoc/pandoc.info
@@ -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"