summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2020-09-15 08:31:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-15 08:31:23 +0700
commitbfd0ea32f12dc91647b78880133225b25776191e (patch)
treeb5a93849857f3e8f4470283ba6d2708d23621303
parent72a4f0b86d5de3e979b0f4eb11913c3a4e49982d (diff)
downloadslackbuilds-bfd0ea32f12dc91647b78880133225b25776191e.tar.gz
academic/fiji: Updated for version 20200902_2101.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/fiji/fiji.SlackBuild16
-rw-r--r--academic/fiji/fiji.info10
2 files changed, 10 insertions, 16 deletions
diff --git a/academic/fiji/fiji.SlackBuild b/academic/fiji/fiji.SlackBuild
index bad800afcd..68c84ec4a6 100644
--- a/academic/fiji/fiji.SlackBuild
+++ b/academic/fiji/fiji.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fiji
-VERSION=${VERSION:-20191216_2110}
+VERSION=${VERSION:-20200902_2101}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,7 +31,7 @@ DIRNAM=Fiji.app
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i386 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,12 +42,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-UPDATER=imagej-updater-0.10.3.jar
-
set -e
# 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"
exit 1
fi
@@ -66,11 +64,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Rename the binary we need
-if [ "$ARCH" = "x86_64" ]; then
- mv ImageJ-linux64 $PRGNAM
-else
- mv ImageJ-linux32 $PRGNAM
-fi
+mv ImageJ-linux64 $PRGNAM
# We will put here two tools, so they are not run at startup.
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
# the line below. You can always "enable" it, by placing it in the jars
# folder.
-mv ../jars/$UPDATER .
+mv ../jars/imagej-updater-* .
cd ..
diff --git a/academic/fiji/fiji.info b/academic/fiji/fiji.info
index bab997b64e..20c501e557 100644
--- a/academic/fiji/fiji.info
+++ b/academic/fiji/fiji.info
@@ -1,10 +1,10 @@
PRGNAM="fiji"
-VERSION="20191216_2110"
+VERSION="20200902_2101"
HOMEPAGE="https://fiji.sc/"
-DOWNLOAD="https://downloads.imagej.net/fiji/archive/20191216-2110/fiji-nojre.tar.gz"
-MD5SUM="692b2b0920d5d86bf5dfb6661444f19d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://downloads.imagej.net/fiji/archive/20200902-2101/fiji-nojre.tar.gz"
+MD5SUM_x86_64="79c19275017206c662c4381dd43f7dc2"
REQUIRES="jdk"
MAINTAINER="Petar Petrov"
EMAIL="slackalaxy@gmail.com"