eclipse: update to 4.4.1; depends on virtual?java-environment

This commit is contained in:
Alessio Sergi 2014-11-13 10:17:48 +01:00
parent 3d42aed294
commit dafe2f6f7b
1 changed files with 6 additions and 9 deletions

View File

@ -1,34 +1,31 @@
# Template file for 'eclipse'
pkgname=eclipse
version=4.4.0
version=4.4.1
revision=1
wrksrc="eclipse"
makedepends="oracle-jdk?java-runtime unzip gtk+ webkitgtk libXtst hicolor-icon-theme desktop-file-utils"
depends="${makedepends}"
depends="virtual?java-environment unzip gtk+ webkitgtk libXtst hicolor-icon-theme desktop-file-utils"
short_desc="An IDE for Java and other languages"
maintainer="Juan RP <xtraeme@gmail.com>"
license="EPL"
homepage="http://eclipse.org"
update_site="http://www.eclipse.org/downloads"
update_pattern='\(\K[\d.]+(?=\) Release)'
only_for_archs="i686 x86_64"
_release=luna-R
_release=luna-SR1
if [ "$XBPS_MACHINE" = "x86_64" ]; then
distfiles="http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/eclipse-standard-${_release}-linux-gtk-x86_64.tar.gz"
checksum=0ca7ab6c4a9dafc373e134848c9bec9e7a038c0db0c25c136fe56e3d51df5c1f
checksum=eebf7dd463d6de5c0f4ec8968c00abdfac8183791cc279e648fef582599481cc
else
distfiles="http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/eclipse-standard-${_release}-linux-gtk.tar.gz"
checksum=9dc6465bbeca89364e35b52343e1e6d5a2b54df515e30bec6845a45806222fbe
checksum=01685991108643d746841502c885c776227053dd613274cc4623a1e95a1eeddd
fi
do_install() {
vmkdir usr/lib/eclipse
cp -a ${wrksrc}/* ${DESTDIR}/usr/lib/eclipse
vinstall ${FILESDIR}/eclipse.sh 755 usr/bin eclipse
vbin ${FILESDIR}/eclipse.sh eclipse
vinstall ${FILESDIR}/eclipse.desktop 644 usr/share/applications
for _i in 16 32 48 256; do