summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
author David Spencer <baildon.research@googlemail.com>2016-05-28 20:27:25 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-29 09:43:06 +0700
commit5989450978ef4c53c1b3bb36247856118d0c4b31 (patch)
tree4e5396719712b7a9d2059b7492ec37cf825157ec /office
parent64f05d933595316522387fffd5ac5cd7ee512418 (diff)
downloadslackbuilds-5989450978ef4c53c1b3bb36247856118d0c4b31.tar.gz
slackbuilds-5989450978ef4c53c1b3bb36247856118d0c4b31.tar.xz
office/pandoc: Fixed manpages.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'office')
-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 \