Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Forrest L <cybercyst at gmail com>
- # Maintainer: Michael P <ptchinster@archlinux.us>
- # Contributor: Marcin "eXine" M. <exine@jun.pl>
- # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
- # Maintainer: Ashok `ScriptDevil` Gautham <ScriptDevil@gmail.com>
- # Maintainer: Laszlo Papp <djszapi2 at gmail com>
- # Maintainer: Antonio Santos <asantos at gmail dot com>
- pkgname=eclipse-android
- _pkgname=ADT
- pkgver=14.0.0
- pkgrel=1
- pkgdesc="Eclipse plugin for android"
- url="http://developer.android.com/sdk/eclipse-adt.html"
- license=('GPL')
- arch=('any')
- depends=('eclipse' 'android-sdk' 'eclipse-wtp-wst')
- makedepends=('unzip')
- source=(http://dl.google.com/android/${_pkgname}-${pkgver}.zip)
- md5sums=('3883973cd229dc4336911117af949509')
- build() {
- _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
- cd ${srcdir}
- # Features
- find features -type f | while read _feature ; do
- if [[ ${_feature} =~ (.*\.jar$) ]] ; then
- install -dm755 ${_dest}/${_feature%*.jar}
- cd ${_dest}/${_feature/.jar}
- jar xf ${srcdir}/${_feature} || return 1
- else
- install -Dm644 ${_feature} ${_dest}/${_feature}
- fi
- done
- # Plugins
- find plugins -type f | while read _plugin ; do
- install -Dm644 ${_plugin} ${_dest}/${_plugin}
- done
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement