From b3f427721e92566943d110130d637ad0949c775d Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Tue, 15 Feb 2022 23:47:27 +1300 Subject: office/pandoc: Install manpage. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- office/pandoc/pandoc.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'office/pandoc') 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 \ -- cgit v1.2.3