summaryrefslogtreecommitdiff
path: root/development/eclipse-cpp/eclipse-cpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/eclipse-cpp/eclipse-cpp.SlackBuild')
-rw-r--r--development/eclipse-cpp/eclipse-cpp.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/development/eclipse-cpp/eclipse-cpp.SlackBuild b/development/eclipse-cpp/eclipse-cpp.SlackBuild
index 2f5ba6b6e7..e873d7131a 100644
--- a/development/eclipse-cpp/eclipse-cpp.SlackBuild
+++ b/development/eclipse-cpp/eclipse-cpp.SlackBuild
@@ -26,8 +26,8 @@
# This script is just a binary repackaging.
PRGNAM=eclipse-cpp
-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.cdt.debug.application_1.1.0.201509131935/icons/cc48.png" \
+ECLIPSE_ICON=$(find . -name "*cc48.png")
+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 \