From 5989450978ef4c53c1b3bb36247856118d0c4b31 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 28 May 2016 20:27:25 +0100 Subject: office/pandoc: Fixed manpages. Signed-off-by: David Spencer --- office/pandoc/pandoc.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'office/pandoc/pandoc.SlackBuild') 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 \ -- cgit v1.2.3