office/mupdf: Fix man pages location.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Erik Hanson 2011-07-29 14:32:37 -05:00 committed by Niels Horn
parent 5ae66481c5
commit 6c8f0aa032

View file

@ -61,7 +61,8 @@ mv $PKG/usr/bin/pdfinfo $PKG/usr/bin/pdfinfo-mupdf
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man/man1 $PKG/usr/man mkdir -p $PKG/usr/man
mv $PKG/usr/share/man/man1 $PKG/usr/man/man1
rm $PKG/usr/share/man -r rm $PKG/usr/share/man -r
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;