1 # Maintainer: Shanto <shanto@hotmail.com>
2 # Contributor: Jesus Jerez <jerezmoreno@gmail.com>
4 pkgname=eclipse-emf-runtime
6 _pkgbuild=R201109131156
8 pkgdesc="EMF and XSD runtime only for the Eclipse platform"
9 url="http://www.eclipse.org/modeling/emf/"
14 conflicts=('eclipse-emf')
15 provides=('eclipse-emf')
16 changelog=$pkgname.changelog
17 _mirror="http://www.eclipse.org/downloads/download.php?r=1&file="
18 source=("$_mirror/modeling/emf/emf/downloads/drops/${pkgver:0:3}.x/${_pkgbuild}/emf-runtime-${pkgver}.zip"
19 "$_mirror/modeling/emf/emf/downloads/drops/${pkgver:0:3}.x/${_pkgbuild}/xsd-runtime-${pkgver}.zip")
20 md5sums=('78d4f7ce58b69c3d5f63c2c0d50b4659'
21 '3cbabb197572af4f7afe6ebc3d044dd4')
24 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
29 find features -type f | while read _feature ; do
30 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
31 install -dm755 ${_dest}/${_feature%*.jar}
32 cd ${_dest}/${_feature/.jar}
33 jar xf ${srcdir}/${_feature} || return 1
35 install -Dm644 ${_feature} ${_dest}/${_feature}
40 find plugins -type f | while read _plugin ; do
41 install -Dm644 ${_plugin} ${_dest}/${_plugin}