aboutsummaryrefslogtreecommitdiff
path: root/office/pandoc/pandoc.SlackBuild
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/pandoc.SlackBuild
parent64d2a36560d24800e83a8ea7ef1deaa6f0a1dd64 (diff)
office/pandoc: Updated for version 1.9.4.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/pandoc/pandoc.SlackBuild')
-rw-r--r--office/pandoc/pandoc.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild
index 6454d0b819ef1..dccae617d0a8d 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