aboutsummaryrefslogtreecommitdiff
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.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/development/eclipse-java/eclipse-java.SlackBuild b/development/eclipse-java/eclipse-java.SlackBuild
index 105fd8a85502..3276133b6641 100644
--- a/development/eclipse-java/eclipse-java.SlackBuild
+++ b/development/eclipse-java/eclipse-java.SlackBuild
@@ -26,8 +26,8 @@
# This script is just a binary repackaging.
PRGNAM=eclipse-java
-VERSION=${VERSION:-4.5.1}
-SRCVERSION="mars-1"
+VERSION=${VERSION:-4.5.2}
+SRCVERSION="mars-2"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,7 +80,8 @@ chmod 0755 $PKG/usr/bin/$PRGNAM
# Add eclipse to KDE/GNOME/XFCE menu and install an icon for them
install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-install -D -m 0644 "$PKG/opt/$PRGNAM/plugins/org.eclipse.platform_4.5.1.v20150904-0015/eclipse48.png" \
+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
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \