aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-java/eclipse-java.SlackBuild
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2016-03-04 16:57:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-04 16:58:51 +0700
commit0b371d9ca1fc453581837cf7477bbd6728ba3808 (patch)
treec9a193427879c3d4982286821bd6c1bd6849ce92 /development/eclipse-java/eclipse-java.SlackBuild
parentfc9b96897fe79bab406ce1f39a68804df95bdbc5 (diff)
downloadslackbuilds-0b371d9ca1fc453581837cf7477bbd6728ba3808.tar.xz
development/eclipse-java: Updated for version 4.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \