aboutsummaryrefslogtreecommitdiff
path: root/graphics/paraview/paraview.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2018-11-24 07:43:03 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-24 12:35:29 +0700
commit128fadc4a1c80004fa46b89a69797669ca69a034 (patch)
treeabbe144c4bd78d172d649231f5f6f027ccc6ed0b /graphics/paraview/paraview.SlackBuild
parente8e9c6007f749c9c674a9c84ddeb6469d06f407f (diff)
graphics/paraview: Updated for version 5.6.0
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'graphics/paraview/paraview.SlackBuild')
-rw-r--r--graphics/paraview/paraview.SlackBuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild
index 138eab0e0084..006f9ca3cc0e 100644
--- a/graphics/paraview/paraview.SlackBuild
+++ b/graphics/paraview/paraview.SlackBuild
@@ -24,9 +24,9 @@
PRGNAM=paraview
SRCNAM=ParaView
-VERSION=${VERSION:-5.5.2}
-SHORT_VERSION=${SHORT_VERSION:-5.5}
-DOC_VERSION=${DOC_VERSION:-5.5.2}
+VERSION=${VERSION:-5.6.0}
+SHORT_VERSION=${SHORT_VERSION:-5.6}
+DOC_VERSION=${DOC_VERSION:-5.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,7 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-v$VERSION
-tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-v$VERSION.tar.xz
cd $SRCNAM-v$VERSION
patch -p0 < $CWD/011_doc_path.diff
patch -p0 < $CWD/020_vtkdocs.diff
@@ -113,7 +113,6 @@ cd build
-DICET_INSTALL_MAN_DIR=man \
-DVTK_INSTALL_ARCHIVE_DIR=lib${LIBDIRSUFFIX}/${PRGNAM}-${VERSION} \
-DVTK_INSTALL_LIBRARY_DIR=lib${LIBDIRSUFFIX}/${PRGNAM}-${VERSION} \
- -DVTK_INSTALL_PYTHON_MODULE_DIR=lib${LIBDIRSUFFIX}/${PRGNAM}-${VERSION}/site-packages \
-DVTK_INSTALL_PACKAGE_DIR=lib${LIBDIRSUFFIX}/cmake/${PRGNAM}-${VERSION} \
-DVTK_INSTALL_DOC_DIR=doc/${PRGNAM}-${VERSION} \
-DQtTesting_INSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
@@ -141,16 +140,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
cp -a \
CONTRIBUTING.* Copyright.* License_v1.2.txt README.* version.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/ParaViewTutorial.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Tutorial.pdf
cp $CWD/ParaViewGettingStarted-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
cp $CWD/ParaViewGuide-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Guide.pdf
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild