summaryrefslogtreecommitdiff
path: root/graphics/paraview/paraview.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2016-11-19 09:04:10 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-19 07:31:18 +0700
commit1c05aebc821fe76d4c2ef34c16958376b5e219eb (patch)
tree2367a83dd80071b383ed8d436507265f076d84ed /graphics/paraview/paraview.SlackBuild
parent5d9e349319e5f20000643e301a941e524862ab57 (diff)
downloadslackbuilds-1c05aebc821fe76d4c2ef34c16958376b5e219eb.tar.gz
graphics/paraview: Updated for version 5.2.0
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
Diffstat (limited to 'graphics/paraview/paraview.SlackBuild')
-rw-r--r--graphics/paraview/paraview.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild
index eb50b246b5..53979ff796 100644
--- a/graphics/paraview/paraview.SlackBuild
+++ b/graphics/paraview/paraview.SlackBuild
@@ -23,9 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=paraview
-VERSION=${VERSION:-5.1.2}
-SHORT_VERSION=${SHORT_VERSION:-5.1}
-BUILD=${BUILD:-3}
+SRCNAM=ParaView
+VERSION=${VERSION:-5.2.0}
+SHORT_VERSION=${SHORT_VERSION:-5.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,12 +70,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-v$VERSION
+tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
+cd $SRCNAM-v$VERSION
patch -p0 < $CWD/010_doc_path.diff
-patch -p0 < $CWD/020_fmmmesh_lib_path.diff
-patch -p0 < $CWD/030_pythonqt-getWidget.diff
+patch -p1 < $CWD/1201.diff
sed -i -e 's/@PARAVIEW_VERSION_FULL@/1.0/' Applications/ParaView/paraview.desktop.in
echo "Exec=paraview" >> Applications/ParaView/paraview.desktop.in
echo "Categories=Development;Graphics" >> Applications/ParaView/paraview.desktop.in
@@ -147,7 +147,8 @@ 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-5.1.0.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
+cp $CWD/ParaViewGettingStarted-5.2.0.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
+cp $CWD/ParaViewGuide-5.2.0.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Guide.pdf
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install