diff options
Diffstat (limited to 'office')
-rw-r--r-- | office/pandoc/README | 11 | ||||
-rw-r--r-- | office/pandoc/pandoc.SlackBuild | 8 | ||||
-rw-r--r-- | office/pandoc/pandoc.info | 6 |
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" |