aboutsummaryrefslogtreecommitdiff
path: root/academic/WolframEngine/WolframEngine.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/WolframEngine/WolframEngine.SlackBuild')
-rw-r--r--academic/WolframEngine/WolframEngine.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/academic/WolframEngine/WolframEngine.SlackBuild b/academic/WolframEngine/WolframEngine.SlackBuild
index 9c69ed90ff68b..8f61a58196009 100644
--- a/academic/WolframEngine/WolframEngine.SlackBuild
+++ b/academic/WolframEngine/WolframEngine.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=WolframEngine
-VERSION=${VERSION:-13.2.0}
+VERSION=${VERSION:-13.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,7 +57,8 @@ rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-SCRIPT=$(find -L $CWD -maxdepth 1 -type f -name "*LINUX*")
+SCRIPT=$(find -L $CWD -maxdepth 1 -type f -exec grep -al \
+"label=\"Wolfram Engine ${VERSION} for LINUX Installer Archive\"" {} \;)
eval $(grep -a "^filesizes=" -m 1 $SCRIPT)
eval $(grep -a "^MD5=" $SCRIPT)
ssize=$(grep -a offset -m 1 $SCRIPT | sed 's/^.* \([0-9]\+\) .*$/\1/')
@@ -100,6 +101,9 @@ cp -a $PKG$MDIR/SystemFiles/FrontEnd/SystemResources/X/${m}-${i}.png \
done
done
+find -L $PKG/opt/WolframEngine/SystemFiles -type f \
+ \( -name "*.so" -o -name '*.so.*' \) -exec chmod 755 {} \;
+
mkdir -p $PKG/usr/man/man1
for i in $(find -L $PKG$MDIR/SystemFiles/SystemDocumentation/Unix \
-maxdepth 1 -type f -name "*.1" -printf "%f\n"); do