aboutsummaryrefslogtreecommitdiff
path: root/academic/paml/paml.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2014-09-29 13:35:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-03 10:16:50 +0700
commitc8eed62852a3df873fee87de5693eafcaf98d305 (patch)
tree4d2d7a52569868ef72b30cc4797e4a067af3267a /academic/paml/paml.SlackBuild
parente13ee46d9ccccd80c3bb6cc9d74952551caa27f9 (diff)
academic/paml: Updated for version 4.8a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/paml/paml.SlackBuild')
-rw-r--r--academic/paml/paml.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/academic/paml/paml.SlackBuild b/academic/paml/paml.SlackBuild
index c0c62ef3e253b..5c3bc898477ef 100644
--- a/academic/paml/paml.SlackBuild
+++ b/academic/paml/paml.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=paml
-VERSION=${VERSION:-4.8}
+VERSION=${VERSION:-4.8a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,6 +35,8 @@ if [ -z "$ARCH" ]; then
esac
fi
+MAINVER=4.8
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -61,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}${VERSION}
tar xvf $CWD/${PRGNAM}${VERSION}.tgz
-cd ${PRGNAM}${VERSION}
+cd ${PRGNAM}${MAINVER}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -122,7 +124,7 @@ cd ..
cc -o multiruns $SLKCFLAGS multiruns.c -lm
install -D -m755 multiruns $PKG/usr/libexec/$PRGNAM/multiruns
-cd $TMP/${PRGNAM}${VERSION}
+cd $TMP/${PRGNAM}${MAINVER}
# Include sample system files and example experimental data.
mkdir -p $PKG/usr/share/$PRGNAM/{aa,codon,ctl,dat,nuc,paup,trees}