1 # Contributor: codestation <cesarg9 at gmail dot com>
6 pkgdesc="A plugin for the Eclipse frameworks to support mobile device Java application development."
8 url="http://www.eclipse.org/dsdp/mtj/"
11 source=(http://mirrors.ibiblio.org/pub/mirrors/eclipse/dsdp/mtj/downloads/drops/S-1.1.1RC1-201009031435/dsdp-mtj-runtime-1.1.1RC1.zip)
12 md5sums=('a1633bb2617ff3ab6a860e436e4f4263')
15 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
20 find features -type f | while read _feature ; do
21 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
22 install -dm755 ${_dest}/${_feature%*.jar}
23 cd ${_dest}/${_feature/.jar}
24 jar xf ${srcdir}/${_feature} || return 1
26 install -Dm644 ${_feature} ${_dest}/${_feature}
31 find plugins -type f | while read _plugin ; do
32 install -Dm644 ${_plugin} ${_dest}/${_plugin}