1 # Forked from eclipse PKGBUILD
2 # Contributor : Pablo Nicolas Diaz <pablonicolas.diaz@gmail.com>
3 # Contributor : Andrew Wright <andreww@photism.org>
4 # Contributor : Andreas W. Hauser <andy-aur@splashground.de>
5 # Mantainer : Paul Mattal <paul@archlinux.org>
7 pkgname=eclipse-reporting
13 pkgdesc="An IDE for Java and other languages - JEE + BIRT package"
15 url="http://eclipse.org"
16 depends=('java-environment>=6' 'gtk2>=2.16.1' 'unzip' 'xulrunner>=1.9.0.10')
17 install=eclipse.install
19 provides=('eclipse=3.5' 'eclipse-wtp-wst=3.1.1' 'eclipse-wtp=3.1.1' 'eclipse-dtp=1.7.2' 'eclipse-emf=2.5.0')
22 if [ "$CARCH" = "x86_64" ]; then
23 source=(ftp://ftp.osuosl.org/pub/eclipse/technology/epp/downloads/release/${_version}/${_internal_pkgver}/eclipse-${_package}-${_version}-linux-gtk-x86_64.tar.gz
24 http://svgicons.o7a.net/unofficial/eclipse.svg
29 md5sums=('8dd3a6c8f1fb0a9f3e57109ab8cf47cb'
30 'fdc1501a2e940860c3f03e88c5ddf9d8'
31 'a1666ff79a3c3d48e535d789d4a1b9ff'
32 'd88490571b49c8ebb221ed349815d040')
35 source=(ftp://ftp.osuosl.org/pub/eclipse/technology/epp/downloads/release/${_version}/${_internal_pkgver}/eclipse-${_package}-${_version}-${_internal_pkgver}-linux-gtk.tar.gz
36 http://svgicons.o7a.net/unofficial/eclipse.svg
40 md5sum=('4d76e6800ea05075f24daf669b6caa2f'
41 'fdc1501a2e940860c3f03e88c5ddf9d8'
42 'a1666ff79a3c3d48e535d789d4a1b9ff'
43 'd88490571b49c8ebb221ed349815d040')
47 cd "${srcdir}/eclipse" || return 1
49 # patch to increase default memory limits
50 # patch -Np0 -i "${srcdir}/eclipse.ini.patch" || return 1
53 install -m755 -d "${pkgdir}/usr/share"
54 mv "${srcdir}/eclipse" "${pkgdir}/usr/share/" || return 1
57 mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/share/applications \
58 ${pkgdir}/usr/share/icons/hicolor/{16x16,32x32,48x48}/apps || return 1
59 install -m755 "${srcdir}/eclipse.sh" "${pkgdir}/usr/bin/eclipse" || return 1
60 install -m644 "${srcdir}/eclipse.desktop" "${pkgdir}/usr/share/applications/" || return 1
62 ln -s "${pkgdir}/usr/share/eclipse/plugins/org.eclipse.*/eclipse.png" \
63 "${pkgdir}/usr/share/icons/hicolor/16x16/apps/eclipse.png" || return 1
64 ln -s "${pkgdir}/usr/share/eclipse/plugins/org.eclipse.*/eclipse32.png" \
65 "${pkgdir}/usr/share/icons/hicolor/32x32/apps/eclipse.png" || return 1
66 ln -s "${pkgdir}/usr/share/eclipse/plugins/org.eclipse.*/eclipse48.png" \
67 "${pkgdir}/usr/share/icons/hicolor/48x48/apps/eclipse.png" || return 1
69 install -D -m644 ${srcdir}/eclipse.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/eclipse.svg || return 1