graphics/paraview: Fixed ownership & manpages.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-12-05 23:27:19 +00:00
parent 92d2c78e30
commit 112233285b
1 changed files with 4 additions and 0 deletions

View File

@ -138,8 +138,12 @@ fi
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/share/$PRGNAM-$SHORT_VERSION/data
tar xf $CWD/ParaViewTutorialData.tar.gz
chown root:root ParaViewTutorialData/*
cp -p ParaViewTutorialData/* $PKG/usr/share/$PRGNAM-$SHORT_VERSION/data
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION