1 # Maintainer: Shanto <shanto@hotmail.com>
2 # Contributor: Jesus Jerez <jerezmoreno@gmail.com>
8 pkgdesc="Java Development Tools - Separated from Eclipse SDK package. Use with eclipse-platform"
9 url="http://www.eclipse.org/jdt/"
12 depends=('eclipse-platform')
14 source=("http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downloads/drops/R-${pkgver}-${pkgdate}/org.eclipse.jdt-${pkgver}.zip")
15 md5sums=('35419e882a9f90ee010937a7403ff727')
19 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
24 find features -type f | while read _feature ; do
25 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
26 install -dm755 ${_dest}/${_feature%*.jar}
27 cd ${_dest}/${_feature/.jar}
28 jar xf ${srcdir}/${_feature} || return 1
30 install -Dm644 ${_feature} ${_dest}/${_feature}
35 find plugins -type f | while read _plugin ; do
36 install -Dm644 ${_plugin} ${_dest}/${_plugin}