1 # Maintainer: Kristof Jozsa <kjozsa@fsdev.hu>
3 pkgname=eclipse-scala-ide
6 pkgdesc="Scala IDE for Eclipse"
8 url="http://www.scala-ide.org/"
10 depends=('eclipse>=3.7')
11 optdepends=('eclipse-ajdt: aspect weaving support')
14 http://download.scala-ide.org/releases-29/stable/org.scala-ide.sdt.update-site.zip
17 md5sums=('681078ece77c7fb3368a3c5ffdb567e7' '58b225f304aaf42c8b8738894a10cb96')
20 install -D -m0644 $startdir/LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE
22 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
25 find features -type f | while read _feature ; do
26 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
27 install -dm755 ${_dest}/${_feature%*.jar}
28 cd ${_dest}/${_feature/.jar}
29 jar xf ${srcdir}/site/${_feature} || return 1
31 install -Dm644 ${_feature} ${_dest}/${_feature}
36 find plugins -type f | while read _plugin ; do
37 install -Dm644 ${_plugin} ${_dest}/${_plugin}