diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2022-08-05 21:36:31 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-06 20:16:08 +0700 |
commit | 843bc98ccd7f93026ab033a9ecc993acf9363e1b (patch) | |
tree | 891cff12e727c8a3589ddcc84f2ea453b4b2c08d /academic/fiji/fiji.SlackBuild | |
parent | a48c0c8d5cabab875cd328ba98ef38c95c12a6fe (diff) |
academic/fiji: Updated for version 20220414_1745.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/fiji/fiji.SlackBuild')
-rw-r--r-- | academic/fiji/fiji.SlackBuild | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/academic/fiji/fiji.SlackBuild b/academic/fiji/fiji.SlackBuild index 9f97499f69896..6ab84821d488a 100644 --- a/academic/fiji/fiji.SlackBuild +++ b/academic/fiji/fiji.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fiji -# Copyright 2018-2021 Petar Petrov slackalaxy@gmail.com +# Copyright 2018-2022 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fiji -VERSION=${VERSION:-20201104_1356} +VERSION=${VERSION:-20220414_1745} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -60,18 +60,11 @@ if [ "$ARCH" != "i386" ] && [ "$ARCH" != "x86_64" ]; then exit 1 fi -# Determine suffix -if [ "$ARCH" = "x86_64" ]; then - SUFFIX=linux64 -else - SUFFIX=linux32 -fi - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $DIRNAM -tar xvf $CWD/${PRGNAM}-$SUFFIX.tar.gz +tar xvf $CWD/${PRGNAM}-linux64.tar.gz cd $DIRNAM chown -R root:root . find -L . \ @@ -81,7 +74,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Rename the binary we need -mv ImageJ-$SUFFIX $PRGNAM +mv ImageJ-linux64 $PRGNAM # We will put here two tools, so they are not run at startup. mkdir -p unused @@ -114,6 +107,7 @@ cp -a \ jars \ java \ lib \ + licenses \ luts \ macros \ plugins \ @@ -123,12 +117,6 @@ cp -a \ $PRGNAM \ $PKG/opt/$PRGNAM -if [ "$ARCH" = "x86_64" ]; then - cp -a \ - licenses \ - $PKG/opt/$PRGNAM -fi - # If a file called "ImageJ2.desktop" is not present in the directory # of fiji, it will create (and re-create it if you delete it) the file # "~/.local/share/applications/ImageJ2.desktop" upon start. So, let it |