development/eclipse: Updated for version 3.5.2.

This commit is contained in:
Antonio Hernández Blas 2010-05-10 19:28:17 -05:00 committed by Robby Workman
parent 641a6c01b6
commit 14b94a1671
2 changed files with 10 additions and 17 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for eclipse
# Copyright (c) 2008-2009, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -24,7 +24,7 @@
# This script is just a binary repackaging.
PRGNAM=eclipse
VERSION=3.5.1
VERSION=3.5.2
ARCH=${ARCH:-i586}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,21 +69,14 @@ cd \$HOME
EOF
chmod 0755 $PKG/usr/bin/eclipse
# Add an icon for eclipse
install -D -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
# 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
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
)
find $PKG | xargs 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 \

View file

@ -1,10 +1,10 @@
PRGNAM="eclipse"
VERSION="3.5.1"
VERSION="3.5.2"
HOMEPAGE="http://www.eclipse.org"
DOWNLOAD="http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-linux-gtk.tar.gz"
MD5SUM="c0e1c97b00e90ffde496faeb2468293c"
DOWNLOAD_x86_64="http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-linux-gtk-x86_64.tar.gz"
MD5SUM_x86_64="1c984ad4c56ffae467da874302f859c0"
DOWNLOAD="http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/eclipse-SDK-3.5.2-linux-gtk.tar.gz"
MD5SUM="bde55a2354dc224cf5f26e5320e72dac"
DOWNLOAD_x86_64="http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/eclipse-SDK-3.5.2-linux-gtk-x86_64.tar.gz"
MD5SUM_x86_64="54e2ce0660b2b1b0eb4267acf70ea66d"
MAINTAINER="Antonio Hernández Blas"
EMAIL="hba.nihilismus@gmail.com"
APPROVED="dsomero"
APPROVED="rworkman"