development/eclipse-jee: Updated for version 4.7.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2017-10-03 14:06:13 +01:00 committed by David Spencer
parent a93301f924
commit 3403c03b6c
2 changed files with 10 additions and 9 deletions

View file

@ -27,8 +27,8 @@
# This script is just a binary repackaging. # This script is just a binary repackaging.
PRGNAM=eclipse-jee PRGNAM=eclipse-jee
VERSION=${VERSION:-4.7} VERSION=${VERSION:-4.7.1}
SRCVERSION=${SRCVERSION:-oxygen-R} SRCVERSION=${SRCVERSION:-oxygen-1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -54,10 +54,11 @@ cd $PKG/opt/$PRGNAM
# ARCH can be 'i586' or 'x86_64' # ARCH can be 'i586' or 'x86_64'
if [ "$ARCH" = "x86_64" ]; then if [ "$ARCH" = "x86_64" ]; then
tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz
elif [ "$ARCH" = "i586" ]; then elif case "$ARCH" in i?86) true ;; *) false ;; esac ; then
tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk.tar.gz tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk.tar.gz
else else
printf "$ARCH is not supported...\n" ; exit 1 printf "$ARCH is not supported...\n"
exit 1
fi fi
chown -R root:root . chown -R root:root .

View file

@ -1,10 +1,10 @@
PRGNAM="eclipse-jee" PRGNAM="eclipse-jee"
VERSION="4.7" VERSION="4.7.1"
HOMEPAGE="http://www.eclipse.org" HOMEPAGE="http://www.eclipse.org"
DOWNLOAD="http://download.eclipse.org/technology/epp/downloads/release/oxygen/R/eclipse-jee-oxygen-R-linux-gtk.tar.gz" DOWNLOAD="http://download.eclipse.org/technology/epp/downloads/release/oxygen/1/eclipse-jee-oxygen-1-linux-gtk.tar.gz"
MD5SUM="ff2a68255cad621e82c252263af92143" MD5SUM="260edfd1e8f1e570e8c5570e57e29da8"
DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/oxygen/R/eclipse-jee-oxygen-R-linux-gtk-x86_64.tar.gz" DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/oxygen/1/eclipse-jee-oxygen-1-linux-gtk-x86_64.tar.gz"
MD5SUM_x86_64="ad9a8af880b26c41f06975dfad0db317" MD5SUM_x86_64="0c6b61c7f8cc3c5506bd82cd52b0bfc8"
REQUIRES="jdk webkitgtk" REQUIRES="jdk webkitgtk"
MAINTAINER="Andrew Clemons" MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com" EMAIL="andrew.clemons@gmail.com"