1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
3 [ $CARCH = "x86_64" ] && _arch=-x86_64
6 _eclipse_timestamp=201106131736
8 pkgname=eclipse-jee-birt
11 pkgdesc="Eclipse IDE for Java EE Developers"
12 arch=('i686' 'x86_64')
13 url="http://www.eclipse.org"
15 depends=('java-environment>=6' 'gtk2>=2.16.1' 'xulrunner>=1.9.0.10')
16 makedepends=('unzip' 'patch')
18 conflicts=('eclipse' 'eclipse-jee')
19 install=${pkgname}.install
20 source=(eclipse.sh eclipse.desktop eclipse.ini.patch eclipse.svg
21 http://ftp.halifax.rwth-aachen.de/eclipse/technology/epp/downloads/release/${_eclipse_name}/${_eclipse_release}/eclipse-jee-${_eclipse_name}-linux-gtk${_arch}.tar.gz
22 http://mirrors.ibiblio.org/pub/mirrors/eclipse/birt/downloads/drops/S-R1-3_7_1-S20110913-201109131734/birt-report-framework-3_7_1-S20110913.zip)
23 changelog=${pkgname}.ChangeLog.markdown
25 md5sums=('00598e0866353f7a7b1a5ed65dc01610'
26 '0537090ceeb11a2af66676481e8cf797'
27 '95cd5f9fb766ab4b4f9f4f1802d7a385'
28 '5e9975a49de88815a731cbd4c77a136e'
29 'a75089028a10e5140bf18ca0b83a3041'
30 '1091cb034cc3722076e2c6d944baf8bf')
31 sha256sums=('4cca2873697a3af39a96449021d7fdc2fc2b01abc9f7883946081f6be7a5ed48'
32 '4eb2189c96fcfa340886b049b34dc3636d7b2bfa865140dc72edb61455d900c3'
33 'fee0685e9341912144bf15c270f518fc965d975728906bd03a3fabbc8ecc685c'
34 '6fe3ab198af244f9c8c2463b6837855506e811f61e5fd8ac7c9d5fe348830a14'
35 '552df575d980929e007527f7f2563b85e9c8c9e92349646f4524e9e3a06c4027'
36 'b028c890d38165508763e1ddf7ee51bbb69301fb1b103c6703f1e3058b58a499')
38 [ "$CARCH" = "x86_64" ] && md5sums[4]='a75089028a10e5140bf18ca0b83a3041'
39 [ "$CARCH" = "x86_64" ] && sha256sums[4]='552df575d980929e007527f7f2563b85e9c8c9e92349646f4524e9e3a06c4027'
42 local _icon_path=/usr/share/eclipse/plugins/org.eclipse.platform_${pkgver}.v${_eclipse_timestamp}
44 install -m755 -d $pkgdir/usr/{bin,share/applications}
45 install -m755 -d $pkgdir/usr/share/icons/hicolor/{16x16,32x32,48x48,scalable}/apps
49 patch -p1 < eclipse.ini.patch
51 mv eclipse $pkgdir/usr/share
52 install -D -m 755 eclipse.sh $pkgdir/usr/bin/eclipse
53 install -D -m 644 eclipse.desktop $pkgdir/usr/share/applications
54 install -D -m 644 eclipse.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/eclipse.svg
55 ln -s ${_icon_path}/eclipse.png ${pkgdir}/usr/share/icons/hicolor/16x16/apps/eclipse.png
56 ln -s ${_icon_path}/eclipse32.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/eclipse.png
57 ln -s ${_icon_path}/eclipse48.png ${pkgdir}/usr/share/icons/hicolor/48x48/apps/eclipse.png