summaryrefslogtreecommitdiff
path: root/development/eclipse-cpp/eclipse-cpp.SlackBuild
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2016-03-04 16:57:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-04 16:58:51 +0700
commitfc9b96897fe79bab406ce1f39a68804df95bdbc5 (patch)
treee89d7fc5bf87b192c52b5d2eeb6af7b0c7507cae /development/eclipse-cpp/eclipse-cpp.SlackBuild
parent3c374fa0a65ccfd5788b8af9b474e59b04f56e81 (diff)
downloadslackbuilds-fc9b96897fe79bab406ce1f39a68804df95bdbc5.tar.gz
development/eclipse-cpp: Updated for version 4.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \