diff options
Diffstat (limited to 'academic/FreeFem/FreeFem.SlackBuild')
-rw-r--r-- | academic/FreeFem/FreeFem.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/academic/FreeFem/FreeFem.SlackBuild b/academic/FreeFem/FreeFem.SlackBuild index 982341fdae..91e1192bc1 100644 --- a/academic/FreeFem/FreeFem.SlackBuild +++ b/academic/FreeFem/FreeFem.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for FreeFem # Based on the Slackware 15.0 SlackBuild and on PKGBUILD script for freefem from AUR # -# Copyright 2019-2023, Fellype do Nascimento, Guaratinguetá - Brazil +# Copyright 2019-2024, Fellype do Nascimento, Guaratinguetá - Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,11 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=FreeFem -VERSION=${VERSION:-4.14} +VERSION=${VERSION:-4.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCVER=${SRCVER:-4.14} +## TODO: remove $SRCVER in the next update since the FreeFem team is not +## distributing the sources numbered as x.y-z anymore +SRCVER=${SRCVER:-4.15} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -45,6 +47,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +set -e + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} |