aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-java/eclipse-java.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-07-10 23:04:11 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-07-12 16:39:20 +0100
commit386e76587744286418bf9ac018f873045b3d9cd5 (patch)
tree4b7697e7c4bee4d4eafb737871d016818d024f0f /development/eclipse-java/eclipse-java.SlackBuild
parentab2bd0a5aa9425cd7ea05837bd91bc8d0b98f719 (diff)
development/eclipse-java: Updated for version 4.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/eclipse-java/eclipse-java.SlackBuild')
-rw-r--r--development/eclipse-java/eclipse-java.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/development/eclipse-java/eclipse-java.SlackBuild b/development/eclipse-java/eclipse-java.SlackBuild
index 9cde1e844320..03576cdce9a6 100644
--- a/development/eclipse-java/eclipse-java.SlackBuild
+++ b/development/eclipse-java/eclipse-java.SlackBuild
@@ -27,8 +27,8 @@
# This script is just a binary repackaging.
PRGNAM=eclipse-java
-VERSION=${VERSION:-4.6.3}
-SRCVERSION=${SRCVERSION:-neon-3}
+VERSION=${VERSION:-4.7}
+SRCVERSION=${SRCVERSION:-oxygen-R}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Add a wrapper to run eclipse in /usr/bin
# Its going to change the working directory to $HOME, so when you import/export
@@ -83,16 +83,14 @@ chmod 0755 $PKG/usr/bin/$PRGNAM
install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
ECLIPSE_ICON=$(find . -name "*eclipse48.png" | grep "org.eclipse.platform")
install -D -m 0644 "$PKG/opt/$PRGNAM/${ECLIPSE_ICON}" \
- $PKG/usr/share/pixmaps/$PRGNAM.png
+ $PKG/usr/share/pixmaps/$PRGNAM.png
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Don't clobber any existing config file
-mv $PKG/opt/$PRGNAM/configuration/config.ini \
- $PKG/opt/$PRGNAM/configuration/config.ini.new
-mv $PKG/opt/$PRGNAM/eclipse.ini \
- $PKG/opt/$PRGNAM/eclipse.ini.new
+mv $PKG/opt/$PRGNAM/configuration/config.ini $PKG/opt/$PRGNAM/configuration/config.ini.new
+mv $PKG/opt/$PRGNAM/eclipse.ini $PKG/opt/$PRGNAM/eclipse.ini.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG/opt/$PRGNAM