summaryrefslogtreecommitdiff
path: root/academic/paml/paml.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2017-04-16 22:01:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:10:39 +0700
commit59cac45df1ff5aef46a90c979cde49080ec9491d (patch)
treef7cd7b0f76f708240d7dbfe948a69d7d236dbb0e /academic/paml/paml.SlackBuild
parent3b9d680eadd9067b2c16eef67e7ffc2c5c4a3427 (diff)
downloadslackbuilds-59cac45df1ff5aef46a90c979cde49080ec9491d.tar.gz
academic/paml: Updated for version 4.9e.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/paml/paml.SlackBuild')
-rw-r--r--academic/paml/paml.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/academic/paml/paml.SlackBuild b/academic/paml/paml.SlackBuild
index 091a998776..743c7a9094 100644
--- a/academic/paml/paml.SlackBuild
+++ b/academic/paml/paml.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for paml
-# Copyright 2013-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2013-2017 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=paml
-VERSION=${VERSION:-4.9c}
+VERSION=${VERSION:-4.9e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,8 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-MAINVER=4.9c
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -61,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}${MAINVER}
+rm -rf ${PRGNAM}${VERSION}
tar xvf $CWD/${PRGNAM}${VERSION}.tgz
-cd ${PRGNAM}${MAINVER}
+cd ${PRGNAM}${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -124,7 +122,7 @@ cd ..
cc -o multiruns $SLKCFLAGS multiruns.c -lm
install -D -m755 multiruns $PKG/usr/libexec/$PRGNAM/multiruns
-cd $TMP/${PRGNAM}${MAINVER}
+cd $TMP/${PRGNAM}${VERSION}
# Include sample system files and example experimental data.
mkdir -p $PKG/usr/share/$PRGNAM/{aa,codon,ctl,dat,nuc,paup,trees}