From 112233285bd8be5af84804c2e5c6059bc288c510 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 5 Dec 2016 23:27:19 +0000 Subject: graphics/paraview: Fixed ownership & manpages. Signed-off-by: David Spencer --- graphics/paraview/paraview.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'graphics/paraview') diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild index 53979ff796..e7a00ad81f 100644 --- a/graphics/paraview/paraview.SlackBuild +++ b/graphics/paraview/paraview.SlackBuild @@ -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 -- cgit v1.2.3