diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2021-05-18 15:20:37 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-18 23:40:04 +0700 |
commit | a9c435a954352b4cc241b782fadd6f0fd37b8813 (patch) | |
tree | d199ab900422d15149eadafff5b517cfea2c4ce0 /academic/MetaPhlAn2/MetaPhlAn2.SlackBuild | |
parent | d4d3ac09b553bcb5adbdb5456a6fd01b4a1a32f8 (diff) |
academic/MetaPhlAn2: update for version 20201202_git4e4416
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/MetaPhlAn2/MetaPhlAn2.SlackBuild')
-rw-r--r-- | academic/MetaPhlAn2/MetaPhlAn2.SlackBuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild index 48492049c446..c5577fd4b9eb 100644 --- a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild +++ b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for MetaPhlAn2 -# Copyright 2019-2020 Petar Petrov slackalaxy@gmail.com +# Copyright 2019-2021 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=MetaPhlAn2 -VERSION=${VERSION:-2.9.5.3} +VERSION=${VERSION:-20201202_git4e4416} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=metaphlan2 -AUTHOR=biobakery -COMMIT=3a075f914593 +COMMIT=4e4416321c75828ac8ea55d36f5a65ebd39058c5 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -51,15 +49,15 @@ set -e if [ -e $CWD/$COMMIT.tar.gz ]; then TARBALL=${COMMIT} else - TARBALL=${AUTHOR}-${SRCNAM}-${COMMIT} + TARBALL=${PRGNAM}-${COMMIT} fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${AUTHOR}-${SRCNAM}-${COMMIT} +rm -rf ${PRGNAM}-${COMMIT} tar xvf $CWD/$TARBALL.tar.gz -cd ${AUTHOR}-${SRCNAM}-${COMMIT} +cd ${PRGNAM}-${COMMIT} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -78,9 +76,12 @@ cd $PKG/usr/bin ln -s ../share/$PRGNAM/strainphlan.py cd - +mkdir -p $PKG/usr/share/$PRGNAM +cp -a strainphlan_tutorial $PKG/usr/share/$PRGNAM + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - README.md changeset.txt license.txt strainphlan_tutorial \ + README.md changeset.txt license.txt \ $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 |