1 # Maintainer: Shanto <shanto at hotmail>
2 # Contributor: Jesus Jerez <jhuss@archlinux.org.ve>
4 pkgname=eclipse-platform-indigo
5 _pkgname=eclipse-platform
10 pkgdesc="Eclipse Platform (Indigo) without plug-ins and SDK"
11 url="http://www.eclipse.org"
12 arch=('i686' 'x86_64')
14 depends=('java-environment>=6' 'gtk2>=2.20' 'libwebkit')
16 provides=('eclipse=3.7')
17 install=$_pkgname.install
18 changelog=$_pkgname.changelog
21 "http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downloads/drops/${_pkgtype}-${pkgver}-${_pkgbuild}/eclipse-platform-${pkgver}-linux-gtk-x86_64.tar.gz"
29 '4195376d99b73c44d09521de72cf5f54'
30 '8dbd219db72d2c913f2e086f19a65770'
31 'f083188c833ba05a3ce8c6b16a290c12'
32 '73c5c6ad00c72888080ff3cde413942f'
33 '3038cf6de788617aca33f94492c07dc1'
36 if [ "$CARCH" != "x86_64" ]; then
37 source[0]="http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downloads/drops/${_pkgtype}-${pkgver}-${_pkgbuild}/eclipse-platform-${pkgver}-linux-gtk.tar.gz"
38 md5sums[0]='182c3288a6ba6e6262f557a98d61f5c9'
42 cd "${srcdir}/eclipse"
44 patch -Np1 -i "${srcdir}/eclipse.ini.patch"
46 install -d ${pkgdir}/usr/bin ${pkgdir}/usr/lib ${pkgdir}/usr/share/applications ${pkgdir}/usr/share/icons/hicolor/{16x16,32x32,48x48,scalable}/apps
48 install -m755 "${srcdir}/eclipse.sh" "${pkgdir}/usr/bin/eclipse"
49 install -m644 "${srcdir}/eclipse.desktop" "${pkgdir}/usr/share/applications/"
50 mv "${srcdir}/eclipse" "${pkgdir}/usr/share/"
52 ln -s /usr/share/eclipse/plugins/org.eclipse.platform_${pkgver}.v${_pkgbuild}/eclipse.png "${pkgdir}/usr/share/icons/hicolor/16x16/apps/eclipse.png"
53 ln -s /usr/share/eclipse/plugins/org.eclipse.platform_${pkgver}.v${_pkgbuild}/eclipse32.png "${pkgdir}/usr/share/icons/hicolor/32x32/apps/eclipse.png"
54 ln -s /usr/share/eclipse/plugins/org.eclipse.platform_${pkgver}.v${_pkgbuild}/eclipse48.png "${pkgdir}/usr/share/icons/hicolor/48x48/apps/eclipse.png"
55 install -Dm644 ${srcdir}/eclipse.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/eclipse.svg
57 ln -s /usr/lib/libwebkitgtk-1.0.so ${pkgdir}/usr/lib/libwebkit-1.0.so.2