diff options
author | David Melik <dchmelik@gmail.com> | 2022-03-30 12:50:08 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:19:15 +0700 |
commit | 7febc64d8174169c6b0425d81ba9d78ec28ecb4c (patch) | |
tree | 6764ebc4fb1a441f7ca563122018f87ce8c4eee2 /academic/mathics/mathics.SlackBuild | |
parent | 1f05929a196461940367ff29e171c11bf432edbf (diff) | |
download | slackbuilds-7febc64d8174169c6b0425d81ba9d78ec28ecb4c.tar.gz |
academic/mathics: Updated for version 4.0.0.
Wrap long line in README.
Remove extra blank line at end of slack-desc.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/mathics/mathics.SlackBuild')
-rw-r--r-- | academic/mathics/mathics.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/academic/mathics/mathics.SlackBuild b/academic/mathics/mathics.SlackBuild index 6979a0b9ab..72870973ea 100644 --- a/academic/mathics/mathics.SlackBuild +++ b/academic/mathics/mathics.SlackBuild @@ -25,11 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mathics -VERSION=${VERSION:-1.0} +VERSION=${VERSION:-4.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=Mathics3 + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -69,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf Mathics-$VERSION -tar xvf $CWD/Mathics-$VERSION.tar.gz -cd Mathics-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,7 +81,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |