aboutsummaryrefslogtreecommitdiff
path: root/graphics/paraview
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-12-05 23:27:19 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-10 00:57:38 +0000
commit112233285bd8be5af84804c2e5c6059bc288c510 (patch)
tree9f2ada56bbe6ad74df476bb74875b1cbc033bf5f /graphics/paraview
parent92d2c78e30b2e08d5d6a1d0687a238a54d7c935e (diff)
graphics/paraview: Fixed ownership & manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/paraview')
-rw-r--r--graphics/paraview/paraview.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild
index 53979ff796787..e7a00ad81fdb9 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