aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2015-06-20 00:44:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-20 00:44:12 +0700
commitacc79d7d1af425a7b961987e8801cad65b22c160 (patch)
tree5488e3efa18326d91acc9e0605e0a1f0821deae9
parent151b08dded3ff70d0acab0d74e39226d9b411e8b (diff)
academic/mrbayes: Updated for version 3.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/mrbayes/mrbayes.SlackBuild17
-rw-r--r--academic/mrbayes/mrbayes.info6
-rw-r--r--academic/mrbayes/slack-desc2
3 files changed, 13 insertions, 12 deletions
diff --git a/academic/mrbayes/mrbayes.SlackBuild b/academic/mrbayes/mrbayes.SlackBuild
index a220dc05d7c5..ec6aeda4fae4 100644
--- a/academic/mrbayes/mrbayes.SlackBuild
+++ b/academic/mrbayes/mrbayes.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mrbayes
-VERSION=${VERSION:-3.2.4}
+VERSION=${VERSION:-3.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,16 +59,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}-${VERSION}
-mkdir ${PRGNAM}-${VERSION}
-cd ${PRGNAM}-${VERSION}
+rm -rf ${PRGNAM}_${VERSION}
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd ${PRGNAM}_${VERSION}
chown -R root:root .
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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd src
autoconf
@@ -91,10 +90,12 @@ install -D -m755 mb $PKG/usr/bin/$PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -a ../examples $PKG/usr/share/$PRGNAM
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- gpl.txt ../documentation/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a gpl.txt ../documentation/* $PKG/usr/doc/$PRGNAM-$VERSION
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/References > $PKG/usr/doc/$PRGNAM-$VERSION/References
diff --git a/academic/mrbayes/mrbayes.info b/academic/mrbayes/mrbayes.info
index c8801d4865bc..119b260bb24d 100644
--- a/academic/mrbayes/mrbayes.info
+++ b/academic/mrbayes/mrbayes.info
@@ -1,8 +1,8 @@
PRGNAM="mrbayes"
-VERSION="3.2.4"
+VERSION="3.2.5"
HOMEPAGE="http://mrbayes.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/mrbayes/mrbayes-3.2.4.tar.gz"
-MD5SUM="b315bc1946af0abfc3349abf22a4f175"
+DOWNLOAD="http://downloads.sourceforge.net/mrbayes/mrbayes-3.2.5.tar.gz"
+MD5SUM="a85a63e5382bc7ea36b1ce1c2138ee6e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/academic/mrbayes/slack-desc b/academic/mrbayes/slack-desc
index db01d321f1ba..5798ad0a33ff 100644
--- a/academic/mrbayes/slack-desc
+++ b/academic/mrbayes/slack-desc
@@ -14,6 +14,6 @@ mrbayes: MrBayes uses Markov chain Monte Carlo (MCMC) methods to
mrbayes: estimate the posterior distribution of model parameters.
mrbayes:
mrbayes: Home: http://mrbayes.sourceforge.net/
-mrbayes: References: /usr/doc/mrbayes-3.2.4/References
+mrbayes: References: /usr/doc/mrbayes-3.2.5/References
mrbayes:
mrbayes: