From 386e76587744286418bf9ac018f873045b3d9cd5 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Mon, 10 Jul 2017 23:04:11 +0100 Subject: development/eclipse-java: Updated for version 4.7. Signed-off-by: David Spencer --- development/eclipse-java/eclipse-java.SlackBuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'development/eclipse-java/eclipse-java.SlackBuild') 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 -- cgit v1.2.3