mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
development/eclipse-java: Updated for version 4.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
5bb4c381bd
commit
282d512cf5
3 changed files with 13 additions and 15 deletions
|
@ -18,8 +18,8 @@ UPGRADING:
|
|||
if you find an error during Eclipse initialization, check
|
||||
this two files:
|
||||
|
||||
/opt/eclipse/configuration/config.ini
|
||||
/opt/eclipse/eclipse.ini
|
||||
/opt/eclipse-java/configuration/config.ini
|
||||
/opt/eclipse-java/eclipse.ini
|
||||
|
||||
If you haven't done modifications in those files, overwrite
|
||||
them with config.ini.new and eclipse.ini.new.
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
# This script is just a binary repackaging.
|
||||
|
||||
PRGNAM=eclipse-java
|
||||
VERSION=${VERSION:-4.6.3}
|
||||
SRCVERSION=${SRCVERSION:-neon-3}
|
||||
VERSION=${VERSION:-4.7}
|
||||
SRCVERSION=${SRCVERSION:-oxygen-R}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -65,7 +65,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
|
||||
|
@ -83,16 +83,14 @@ chmod 0755 $PKG/usr/bin/$PRGNAM
|
|||
install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
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
|
||||
$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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="eclipse-java"
|
||||
VERSION="4.6.3"
|
||||
VERSION="4.7"
|
||||
HOMEPAGE="http://www.eclipse.org"
|
||||
DOWNLOAD="http://download.eclipse.org/technology/epp/downloads/release/neon/3/eclipse-java-neon-3-linux-gtk.tar.gz"
|
||||
MD5SUM="86303435a2e3ad87ef043a7c9f68b7df"
|
||||
DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/neon/3/eclipse-java-neon-3-linux-gtk-x86_64.tar.gz"
|
||||
MD5SUM_x86_64="74962bf6d674fda7da30aafdb5f6ce86"
|
||||
DOWNLOAD="http://download.eclipse.org/technology/epp/downloads/release/oxygen/R/eclipse-java-oxygen-R-linux-gtk.tar.gz"
|
||||
MD5SUM="9a79d70e5a7c60816824267fd708c3f1"
|
||||
DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/oxygen/R/eclipse-java-oxygen-R-linux-gtk-x86_64.tar.gz"
|
||||
MD5SUM_x86_64="9c7b80a9c11f30802cdb8d041b58f808"
|
||||
REQUIRES="jdk webkitgtk"
|
||||
MAINTAINER="Andrew Clemons"
|
||||
EMAIL="andrew.clemons@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue