mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
academic/fiji: Updated for version 20200902_2101.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
72a4f0b86d
commit
bfd0ea32f1
2 changed files with 10 additions and 16 deletions
|
@ -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 ..
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue