aboutsummaryrefslogtreecommitdiff
path: root/office/pandoc/pandoc.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-13 12:09:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-15 07:40:45 +0700
commitc6557d1218fe839b02aeec31a3dacbfba2200a55 (patch)
tree9f0a29942afd615ea978641defb02d28ce4be4a4 /office/pandoc/pandoc.SlackBuild
parent88d495ccd16aa48f9d563e1381bfb42ecd034b28 (diff)
office/pandoc: Updated for version 1.17.0.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'office/pandoc/pandoc.SlackBuild')
-rw-r--r--office/pandoc/pandoc.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild
index f4b41a92a7cef..d825d1cb232b5 100644
--- a/office/pandoc/pandoc.SlackBuild
+++ b/office/pandoc/pandoc.SlackBuild
@@ -6,7 +6,7 @@
# Public domain.
PRGNAM=pandoc
-VERSION=${VERSION:-1.13.2}
+VERSION=${VERSION:-1.17.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,10 +52,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Accept haskell-data-default 0.6 -- Arch does this, so it must be ok :p
+sed -i -e 's/data-default >= 0.4 \&\& < 0.6,/data-default >= 0.4 \&\& < 0.7,/' $PRGNAM.cabal
# --enable-executable-dynamic seems to only add the build directory to the
# rpath but not /usr/lib*/ghc-*/pandoc-*, so libHSpandoc cannot be loaded if
@@ -79,7 +82,8 @@ mkdir -p $PKG/$PKGCONFD
mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a BUGS CONTRIBUTING.md COPYING COPYRIGHT README \
+cp -a \
+ BUGS changelog CONTRIBUTING.md COPYING COPYRIGHT README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild