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