From acc79d7d1af425a7b961987e8801cad65b22c160 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Sat, 20 Jun 2015 00:44:12 +0700 Subject: academic/mrbayes: Updated for version 3.2.5. Signed-off-by: Willy Sudiarto Raharjo --- academic/mrbayes/mrbayes.SlackBuild | 17 +++++++++-------- academic/mrbayes/mrbayes.info | 6 +++--- academic/mrbayes/slack-desc | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) (limited to 'academic') diff --git a/academic/mrbayes/mrbayes.SlackBuild b/academic/mrbayes/mrbayes.SlackBuild index a220dc05d7..ec6aeda4fa 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 c8801d4865..119b260bb2 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 db01d321f1..5798ad0a33 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: -- cgit v1.2.3