summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/pandoc/pandoc.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild
index d825d1cb23..06fa5d3b7f 100644
--- a/office/pandoc/pandoc.SlackBuild
+++ b/office/pandoc/pandoc.SlackBuild
@@ -81,6 +81,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 \
BUGS changelog CONTRIBUTING.md COPYING COPYRIGHT README \