diff options
Diffstat (limited to 'graphics/paraview/paraview.SlackBuild')
-rw-r--r-- | graphics/paraview/paraview.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild index 67522c97c777..a6236170b74f 100644 --- a/graphics/paraview/paraview.SlackBuild +++ b/graphics/paraview/paraview.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for paraview -# Copyright 2016-2023 Christoph Willing Brisbane, Australia +# Copyright 2016-2024 Christoph Willing Sydney, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,9 +26,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=paraview SRCNAM=ParaView -VERSION=${VERSION:-5.11.2} -SHORT_VERSION=${SHORT_VERSION:-5.11} -DOC_VERSION=${DOC_VERSION:-5.11.1} +VERSION=${VERSION:-5.13.1} +SHORT_VERSION=${SHORT_VERSION:-5.13} +DOC_VERSION=${DOC_VERSION:-5.13.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,9 +74,12 @@ cd $TMP rm -rf $SRCNAM-v$VERSION tar xvf $CWD/$SRCNAM-v$VERSION.tar.xz cd $SRCNAM-v$VERSION -patch -p0 < $CWD/012_doc_path.diff + +sed -e "s/@VERSION@/$VERSION/" < $CWD/013_doc_path.diff.in >$CWD/013_doc_path.diff +patch -p0 < $CWD/013_doc_path.diff sed -i -e 's/^Categories.*/&Development;Graphics;/' Clients/ParaView/org.paraview.ParaView.desktop.in chown -R root:root . + find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ @@ -113,10 +116,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CONTRIBUTING* Copyright* License_v1.2.txt README* version.txt \ + CONTRIBUTING* Copyright* README* \ $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/ParaViewGettingStarted-${VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf -cp $CWD/ParaViewTutorial-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Tutorial.pdf cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |