diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2022-08-12 19:40:44 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-13 10:40:38 +0700 |
commit | 6bc47f973543a509009765e486d3291784dc6546 (patch) | |
tree | 2f59004b1c53fe76f8a9a45e966a4cff49a6ece1 | |
parent | 7c900167f368c71138be24727d4dd448b1478657 (diff) | |
download | slackbuilds-6bc47f973543a509009765e486d3291784dc6546.tar.gz |
academic/snpEff: Build cleanup.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | academic/snpEff/snpEff.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/academic/snpEff/snpEff.SlackBuild b/academic/snpEff/snpEff.SlackBuild index 83261322fd..ec1346b235 100644 --- a/academic/snpEff/snpEff.SlackBuild +++ b/academic/snpEff/snpEff.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for snpEff -# Copyright 2015-2021 Petar Petrov slackalaxy@gmail.com +# Copyright 2015-2022 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=snpEff VERSION=${VERSION:-4.3t} SRCVER=${SRCVER:-v4_3t} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,7 +50,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION unzip $CWD/${PRGNAM}_${SRCVER}_core.zip cd $PRGNAM chown -R root:root . @@ -60,8 +62,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mkdir -p $PKG/usr/share/java/$PRGNAM -cp -a examples galaxy scripts $PRGNAM.config $PRGNAM.jar SnpSift.jar \ +install -D -m755 $PRGNAM.jar $PKG/usr/share/java/$PRGNAM/$PRGNAM.jar +install -D -m755 SnpSift.jar $PKG/usr/share/java/$PRGNAM/SnpSift.jar + +cp -a examples galaxy scripts $PRGNAM.config \ $PKG/usr/share/java/$PRGNAM mkdir -p $PKG/usr/bin |