diff options
Diffstat (limited to 'office/pandoc/pandoc.SlackBuild')
-rw-r--r-- | office/pandoc/pandoc.SlackBuild | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild index bc1fc8ae3e89d..bd3d27a0a5665 100644 --- a/office/pandoc/pandoc.SlackBuild +++ b/office/pandoc/pandoc.SlackBuild @@ -9,7 +9,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pandoc -VERSION=${VERSION:-2.3.1} +VERSION=${VERSION:-2.17.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,9 +68,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Remove upper version constraint on haddock-library -sed -i -E 's/(haddock-library *>= *[0-9.]+ *)\&\& *<=? *[0-9.]+/\1/' $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 # the build directory is removed. For now, we build a static executable. @@ -94,14 +91,11 @@ PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | cut -d" " -f2 ) mkdir -p $PKG/$PKGCONFD mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf -mv $PKG/usr/share/man $PKG/usr rmdir --ignore-fail-on-non-empty $PKG/usr/share -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS.md BUGS changelog CONTRIBUTING.md COPYING.md COPYRIGHT MANUAL.txt README.md \ + AUTHORS.md BUGS CONTRIBUTING.md COPYING.md COPYRIGHT INSTALL.md MANUAL.txt README.md changelog.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |