diff options
Diffstat (limited to 'academic/jalview/jalview.SlackBuild')
-rw-r--r-- | academic/jalview/jalview.SlackBuild | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/academic/jalview/jalview.SlackBuild b/academic/jalview/jalview.SlackBuild index 1ec9acf47f8e7..30d2cdbe8fa71 100644 --- a/academic/jalview/jalview.SlackBuild +++ b/academic/jalview/jalview.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for jalview -# Copyright 2013-2016 Petar Petrov slackalaxy@gmail.com +# Copyright 2013-2020 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,15 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# With help from the jalview PKGBUILD at Arch linux AUR: -# https://aur.archlinux.org/packages/jalview/ - PRGNAM=jalview -VERSION=${VERSION:-2.10.0b1} +VERSION=${VERSION:-2.11.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch +JAVA=j1.8 + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -42,27 +41,11 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -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 {} \; - -mkdir -p $PKG/usr/share/java/$PRGNAM -cp -a *.jar $PKG/usr/share/java/$PRGNAM -# The wrapper is from Arch. Thank you! +install -D -m755 $CWD/$PRGNAM-all-$VERSION-$JAVA.jar $PKG/opt/$PRGNAM/$PRGNAM install -D -m755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - building.html exampleFeatures.txt LICENSE README_IA \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/TheJalviewTutorial_screen.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/Tutorial.pdf cat $CWD/References > $PKG/usr/doc/$PRGNAM-$VERSION/References cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |