1 # Contributor: Andrew Wright <andreww@photism.org>
2 # Contributor: Andreas W. Hauser <andy-aur@splashground.de>
3 # Maintainer: Jonathan Wiersma <archaur at jonw dot org>
9 pkgdesc="Eclipse 3.3 (An IDE for Java and other languages)"
10 arch=('i686' 'x86_64')
11 url="http://eclipse.org"
12 depends=('java-environment' 'gtk2' 'unzip' 'xulrunner')
13 install=eclipse.install
15 provides=("eclipse=${pkgver}")
17 md5sums=(a59b9e8911e59da4cf7a5c5fc6a178e4
18 97eeb43cd41bd605224936526678bd4f
19 f5963a38c3c8eb3f66d8a1134205056c)
20 if [ "$CARCH" = "x86_64" ]; then
22 md5sums=(b0a727dcd931f99d05787ba1970f9b18
23 97eeb43cd41bd605224936526678bd4f
24 f5963a38c3c8eb3f66d8a1134205056c)
26 source=("http://archive.eclipse.org/eclipse/downloads/drops/R-${pkgver}-${_reldate}/eclipse-SDK-$pkgver-linux-gtk$_arch.tar.gz"
31 cd $srcdir/eclipse || return 1
33 # patch to increase default memory limits
34 patch -p0 < ../eclipse.ini.patch || return 1
36 mv eclipse.ini eclipse33.ini
39 mkdir -p $pkgdir/usr/share || return 1
40 mv $srcdir/eclipse $pkgdir/usr/share/eclipse33 || return 1
43 mkdir -p $pkgdir/etc/profile.d \
44 $pkgdir/usr/share/applications \
46 install -m644 $srcdir/eclipse33.desktop \
47 $pkgdir/usr/share/applications/eclipse33.desktop || return 1