diff options
Diffstat (limited to 'graphics/paraview/paraview.SlackBuild')
-rw-r--r-- | graphics/paraview/paraview.SlackBuild | 19 |
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 |