From c6557d1218fe839b02aeec31a3dacbfba2200a55 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 13 May 2016 12:09:07 +0100 Subject: office/pandoc: Updated for version 1.17.0.3. Signed-off-by: David Spencer --- office/pandoc/pandoc.SlackBuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'office/pandoc/pandoc.SlackBuild') 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 -- cgit v1.2.3