diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-12-05 23:27:19 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-10 00:57:38 +0000 |
commit | 112233285bd8be5af84804c2e5c6059bc288c510 (patch) | |
tree | 9f2ada56bbe6ad74df476bb74875b1cbc033bf5f | |
parent | 92d2c78e30b2e08d5d6a1d0687a238a54d7c935e (diff) | |
download | slackbuilds-112233285bd8be5af84804c2e5c6059bc288c510.tar.gz |
graphics/paraview: Fixed ownership & manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | graphics/paraview/paraview.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
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 |