summaryrefslogtreecommitdiff
path: root/development/eclipse-java/eclipse-java.SlackBuild
diff options
context:
space:
mode:
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 9cde1e8443..03576cdce9 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