aboutsummaryrefslogtreecommitdiff
path: root/academic/FreeFem/FreeFem.SlackBuild
diff options
context:
space:
mode:
authorFellype do Nascimento <fellype(at)gmail.com>2020-01-12 08:15:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-11 20:58:11 +0700
commitbd5943a4e103027672bb19811d95db4663b3ea31 (patch)
tree1a6d6f3dc89b59926be6c221802a6eb8de27cfbc /academic/FreeFem/FreeFem.SlackBuild
parent2a7261353d50c8c9b2b69e1e164d85369e24703b (diff)
academic/FreeFem: Updated for version 4.4.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/FreeFem/FreeFem.SlackBuild')
-rw-r--r--academic/FreeFem/FreeFem.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/academic/FreeFem/FreeFem.SlackBuild b/academic/FreeFem/FreeFem.SlackBuild
index 392e25396d..332dfd6aad 100644
--- a/academic/FreeFem/FreeFem.SlackBuild
+++ b/academic/FreeFem/FreeFem.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for SciDAVis
+# Slackware build script for FreeFem
# Based on the Slackware 14.2 SlackBuild and on PKGBUILD script for freefem from AUR
#
# Copyright 2019, Fellype do Nascimento, Campinas - Brazil
@@ -24,9 +24,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=FreeFem
-VERSION=${VERSION:-4.4}
+VERSION=${VERSION:-4.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=${SRCVER:-4.4-3}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -56,9 +57,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-sources-$VERSION
-tar xvf $CWD/$PRGNAM-sources-$VERSION.tar.gz
-cd $PRGNAM-sources-$VERSION
+rm -rf $PRGNAM-sources-$SRCVER
+tar xvf $CWD/$PRGNAM-sources-$SRCVER.tar.gz
+cd $PRGNAM-sources-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \