summaryrefslogtreecommitdiff
path: root/academic/mrbayes/mrbayes.SlackBuild
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 /academic/mrbayes/mrbayes.SlackBuild
parent151b08dded3ff70d0acab0d74e39226d9b411e8b (diff)
downloadslackbuilds-acc79d7d1af425a7b961987e8801cad65b22c160.tar.gz
academic/mrbayes: Updated for version 3.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/mrbayes/mrbayes.SlackBuild')
-rw-r--r--academic/mrbayes/mrbayes.SlackBuild17
1 files changed, 9 insertions, 8 deletions
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