aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-cpp/eclipse-cpp.SlackBuild
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2014-10-21 22:49:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-22 08:33:55 +0700
commitf3261bf31677239b7e3e051bbe477f3cbde4e013 (patch)
treef7ae7600c13aec61878b835516016fd60ce72e44 /development/eclipse-cpp/eclipse-cpp.SlackBuild
parent775386cee456962cde3c54e51984510e99ed428b (diff)
development/eclipse-cpp: Updated for version 4.4.1.
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.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/development/eclipse-cpp/eclipse-cpp.SlackBuild b/development/eclipse-cpp/eclipse-cpp.SlackBuild
index 951396e870af8..93abf5c24c827 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.4}
-SRCVERSION=luna-R
+VERSION=${VERSION:-4.4.1}
+SRCVERSION=luna-SR1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,7 +64,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
@@ -80,16 +80,15 @@ 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 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+install -D -m 0644 "$PKG/opt/$PRGNAM/plugins/org.eclipse.cdt.debug.application_1.0.0.201409172108/eclipse48.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