aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-jee/eclipse-jee.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-10-03 14:06:13 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-10-03 14:06:13 +0100
commit3403c03b6c6349c46856cbc6950951539b577acf (patch)
tree3f9e19a27f809f97e42ea2d935c42e628290d6ab /development/eclipse-jee/eclipse-jee.SlackBuild
parenta93301f9248197920077246433d1eae60de903b2 (diff)
development/eclipse-jee: Updated for version 4.7.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/eclipse-jee/eclipse-jee.SlackBuild')
-rw-r--r--development/eclipse-jee/eclipse-jee.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/development/eclipse-jee/eclipse-jee.SlackBuild b/development/eclipse-jee/eclipse-jee.SlackBuild
index 9414d225fda56..88bcbc10ee13a 100644
--- a/development/eclipse-jee/eclipse-jee.SlackBuild
+++ b/development/eclipse-jee/eclipse-jee.SlackBuild
@@ -27,8 +27,8 @@
# This script is just a binary repackaging.
PRGNAM=eclipse-jee
-VERSION=${VERSION:-4.7}
-SRCVERSION=${SRCVERSION:-oxygen-R}
+VERSION=${VERSION:-4.7.1}
+SRCVERSION=${SRCVERSION:-oxygen-1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,10 +54,11 @@ cd $PKG/opt/$PRGNAM
# ARCH can be 'i586' or 'x86_64'
if [ "$ARCH" = "x86_64" ]; then
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
else
- printf "$ARCH is not supported...\n" ; exit 1
+ printf "$ARCH is not supported...\n"
+ exit 1
fi
chown -R root:root .