summaryrefslogtreecommitdiff
path: root/academic/paml/paml.SlackBuild
diff options
context:
space:
mode:
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}