diff options
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 |
commit | 5989450978ef4c53c1b3bb36247856118d0c4b31 (patch) | |
tree | 4e5396719712b7a9d2059b7492ec37cf825157ec /office/pandoc | |
parent | 64f05d933595316522387fffd5ac5cd7ee512418 (diff) |
office/pandoc: Fixed manpages.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'office/pandoc')
-rw-r--r-- | office/pandoc/pandoc.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild index d825d1cb232b5..06fa5d3b7f928 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 \ |