summaryrefslogtreecommitdiffstats
path: root/development/eclipse-java
diff options
context:
space:
mode:
Diffstat (limited to 'development/eclipse-java')
-rw-r--r--development/eclipse-java/README2
-rw-r--r--development/eclipse-java/eclipse-java.SlackBuild20
-rw-r--r--development/eclipse-java/eclipse-java.info10
-rw-r--r--development/eclipse-java/slack-desc2
4 files changed, 22 insertions, 12 deletions
diff --git a/development/eclipse-java/README b/development/eclipse-java/README
index 28fee3dfb0..395cb825e0 100644
--- a/development/eclipse-java/README
+++ b/development/eclipse-java/README
@@ -16,7 +16,7 @@ This package includes:
UPGRADING:
**********
if you find an error during Eclipse initialisation, check
-this two files:
+these two files:
/opt/eclipse-java/configuration/config.ini
/opt/eclipse-java/eclipse.ini
diff --git a/development/eclipse-java/eclipse-java.SlackBuild b/development/eclipse-java/eclipse-java.SlackBuild
index 2ac761caaa..a999a01773 100644
--- a/development/eclipse-java/eclipse-java.SlackBuild
+++ b/development/eclipse-java/eclipse-java.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eclipse-java
@@ -26,11 +26,14 @@
# Modified from classical eclipse slackbuild
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eclipse-java
-VERSION=${VERSION:-4.15}
-SRCVERSION=${SRCVERSION:-2020-03-R}
+VERSION=${VERSION:-4.20}
+SRCVERSION=${SRCVERSION:-2021-06-R}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +111,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eclipse-java/eclipse-java.info b/development/eclipse-java/eclipse-java.info
index 6cfda43736..90abdde200 100644
--- a/development/eclipse-java/eclipse-java.info
+++ b/development/eclipse-java/eclipse-java.info
@@ -1,10 +1,10 @@
PRGNAM="eclipse-java"
-VERSION="4.15"
-HOMEPAGE="http://www.eclipse.org"
+VERSION="4.20"
+HOMEPAGE="https://www.eclipse.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2020-03/R/eclipse-java-2020-03-R-linux-gtk-x86_64.tar.gz"
-MD5SUM_x86_64="1f4485a89895dd830489dbbb9581c3ae"
-REQUIRES="jdk webkit2gtk"
+DOWNLOAD_x86_64="https://download.eclipse.org/technology/epp/downloads/release/2021-06/R/eclipse-java-2021-06-R-linux-gtk-x86_64.tar.gz"
+MD5SUM_x86_64="774016ac8acce8e6288a94bed6f83d11"
+REQUIRES="jdk11 webkit2gtk"
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/development/eclipse-java/slack-desc b/development/eclipse-java/slack-desc
index 07b14b232c..df5f589923 100644
--- a/development/eclipse-java/slack-desc
+++ b/development/eclipse-java/slack-desc
@@ -13,7 +13,7 @@ eclipse-java: Java IDE, a CVS client, Git client, XML Editor, Mylyn,
eclipse-java: Maven integration and WindowBuilder
eclipse-java:
eclipse-java:
-eclipse-java: Homepage: http://www.eclipse.org
+eclipse-java: Homepage: https://www.eclipse.org/
eclipse-java:
eclipse-java:
eclipse-java: