1 # Maintainer: Forrest L <cybercyst at gmail com>
2 # Maintainer: Michael P <ptchinster@archlinux.us>
3 # Contributor: Marcin "eXine" M. <exine@jun.pl>
4 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
5 # Maintainer: Ashok `ScriptDevil` Gautham <ScriptDevil@gmail.com>
6 # Maintainer: Laszlo Papp <djszapi2 at gmail com>
7 # Maintainer: Antonio Santos <asantos at gmail dot com>
9 pkgname=eclipse-android
13 pkgdesc="Eclipse plugin for android"
14 url="http://developer.android.com/sdk/eclipse-adt.html"
17 depends=('eclipse' 'android-sdk' 'eclipse-wtp-wst')
19 source=(http://dl.google.com/android/${_pkgname}-${pkgver}.zip)
20 md5sums=('03a2a23650ddac128c8b9e8aaf0aa433')
23 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
28 find features -type f | while read _feature ; do
29 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
30 install -dm755 ${_dest}/${_feature%*.jar}
31 cd ${_dest}/${_feature/.jar}
32 jar xf ${srcdir}/${_feature} || return 1
34 install -Dm644 ${_feature} ${_dest}/${_feature}
39 find plugins -type f | while read _plugin ; do
40 install -Dm644 ${_plugin} ${_dest}/${_plugin}