summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2014-04-09 17:13:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-09 17:14:26 +0700
commite93a92a31467c73723c6872d462ce0698db3774b (patch)
treee0c27d6ce2d2d438cafd7748bee88d72117685f4
parentd7885d5681195dab58ea1e72a32e56a09be1598c (diff)
downloadslackbuilds-e93a92a31467c73723c6872d462ce0698db3774b.tar.gz
academic/pamlX: Updated for version 1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/pamlX/pamlX.SlackBuild18
-rw-r--r--academic/pamlX/pamlX.info8
2 files changed, 13 insertions, 13 deletions
diff --git a/academic/pamlX/pamlX.SlackBuild b/academic/pamlX/pamlX.SlackBuild
index 86624eb5a2..e07f7e19aa 100644
--- a/academic/pamlX/pamlX.SlackBuild
+++ b/academic/pamlX/pamlX.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pamlX
-# Copyright 2013 Petar Petrov, petar.petrov@student.oulu.fi
+# Copyright 2013-2014 Petar Petrov, petar.petrov@student.oulu.fi
# 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=pamlX
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,19 +63,19 @@ rm -rf $PRGNAM-$VERSION-src
tar xvf $CWD/$PRGNAM-$VERSION-src.tgz
cd $PRGNAM-$VERSION-src
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix the path where pamlX looks for the paml executables, its config
# file (if necessary it should be in your home directory) and the
# manuals installed by paml.
sed -i 's|QApplication::applicationDirPath()|"/usr"|g' mainwindow.cpp
sed -i 's|+= "/pamlx.conf"|= "~/.pamlX/pamlx.conf"|g' mainwindow.cpp
-sed -i 's|/doc/|/doc/paml-4.7a/|g' mainwindow.cpp
-sed -i 's|/doc/|/doc/paml-4.7a/|g' pamlhistorydialog.cpp
+sed -i 's|/doc/|/doc/paml-4.8/|g' mainwindow.cpp
+sed -i 's|/doc/|/doc/paml-4.8/|g' pamlhistorydialog.cpp
# If you want the "Help" menu to use something else than Okular for
# viewing the PDF documentation, uncomment the appropriate line below
diff --git a/academic/pamlX/pamlX.info b/academic/pamlX/pamlX.info
index 2a849e49da..7ddabfa74e 100644
--- a/academic/pamlX/pamlX.info
+++ b/academic/pamlX/pamlX.info
@@ -1,8 +1,8 @@
PRGNAM="pamlX"
-VERSION="1.1"
-HOMEPAGE="http://abacus.gene.ucl.ac.uk/software/"
-DOWNLOAD="http://abacus.gene.ucl.ac.uk/software/pamlX-1.1-src.tgz"
-MD5SUM="8f7472fd5a83e0bf6abf495dc6bcb253"
+VERSION="1.2"
+HOMEPAGE="http://abacus.gene.ucl.ac.uk/software/paml.html"
+DOWNLOAD="http://abacus.gene.ucl.ac.uk/software/pamlX-1.2-src.tgz"
+MD5SUM="49b3851717fc69428f1cfad2db97b597"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="paml"