academic/fiji: Updated for version 20200902_2101.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2020-09-15 08:31:23 +07:00 committed by Willy Sudiarto Raharjo
parent 72a4f0b86d
commit bfd0ea32f1
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 16 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fiji PRGNAM=fiji
VERSION=${VERSION:-20191216_2110} VERSION=${VERSION:-20200902_2101}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -31,7 +31,7 @@ DIRNAM=Fiji.app
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i386 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -42,12 +42,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
UPDATER=imagej-updater-0.10.3.jar
set -e set -e
# Stop if arch is not supported # Stop if arch is not supported
if [ "$ARCH" != "i386" ] && [ "$ARCH" != "x86_64" ]; then if [ "$ARCH" != "x86_64" ]; then
printf "\n\n$ARCH is not supported... \n" printf "\n\n$ARCH is not supported... \n"
exit 1 exit 1
fi fi
@ -66,11 +64,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Rename the binary we need # Rename the binary we need
if [ "$ARCH" = "x86_64" ]; then mv ImageJ-linux64 $PRGNAM
mv ImageJ-linux64 $PRGNAM
else
mv ImageJ-linux32 $PRGNAM
fi
# We will put here two tools, so they are not run at startup. # We will put here two tools, so they are not run at startup.
mkdir -p unused mkdir -p unused
@ -85,7 +79,7 @@ mv ../plugins/Scripts/Plugins/AutoRun/Check_Required_Update_Sites.js .
# is your system, so if you want this functionality, then comment out # is your system, so if you want this functionality, then comment out
# the line below. You can always "enable" it, by placing it in the jars # the line below. You can always "enable" it, by placing it in the jars
# folder. # folder.
mv ../jars/$UPDATER . mv ../jars/imagej-updater-* .
cd .. cd ..

View file

@ -1,10 +1,10 @@
PRGNAM="fiji" PRGNAM="fiji"
VERSION="20191216_2110" VERSION="20200902_2101"
HOMEPAGE="https://fiji.sc/" HOMEPAGE="https://fiji.sc/"
DOWNLOAD="https://downloads.imagej.net/fiji/archive/20191216-2110/fiji-nojre.tar.gz" DOWNLOAD="UNSUPPORTED"
MD5SUM="692b2b0920d5d86bf5dfb6661444f19d" MD5SUM=""
DOWNLOAD_x86_64="" DOWNLOAD_x86_64="https://downloads.imagej.net/fiji/archive/20200902-2101/fiji-nojre.tar.gz"
MD5SUM_x86_64="" MD5SUM_x86_64="79c19275017206c662c4381dd43f7dc2"
REQUIRES="jdk" REQUIRES="jdk"
MAINTAINER="Petar Petrov" MAINTAINER="Petar Petrov"
EMAIL="slackalaxy@gmail.com" EMAIL="slackalaxy@gmail.com"