system/dislocker: Fixed manpages.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Leo C 2018-05-19 13:58:50 +01:00 committed by Willy Sudiarto Raharjo
parent 8c103c543c
commit 3cea847416

View file

@ -24,7 +24,7 @@
PRGNAM=dislocker
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -84,9 +84,6 @@ cd ..
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
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 CHANGELOG.md INSTALL.md LICENSE.txt README.md \
$PKG/usr/doc/$PRGNAM-$VERSION