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.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/academic/paml/paml.SlackBuild b/academic/paml/paml.SlackBuild
index c0c62ef3e2..5c3bc89847 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}