summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
author Andrew Clemons2022-02-15 11:47:27 +0100
committer Willy Sudiarto Raharjo2022-02-16 02:20:18 +0100
commitb3f427721e92566943d110130d637ad0949c775d (patch)
tree8216166c16228ad0517e3c76e72887d653a49ea0 /office
parent4ee2efde0e52a576a9367a0af9843cf547341639 (diff)
downloadslackbuilds-b3f427721e92566943d110130d637ad0949c775d.tar.gz
office/pandoc: Install manpage.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/pandoc/pandoc.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild
index bd3d27a0a5..2abd6f3fe5 100644
--- a/office/pandoc/pandoc.SlackBuild
+++ b/office/pandoc/pandoc.SlackBuild
@@ -92,7 +92,9 @@ mkdir -p $PKG/$PKGCONFD
mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
rmdir --ignore-fail-on-non-empty $PKG/usr/share
-
+install -Dm644 man/pandoc.1 $PKG/usr/man/man1/pandoc.1
+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 CONTRIBUTING.md COPYING.md COPYRIGHT INSTALL.md MANUAL.txt README.md changelog.md \