Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

eclipse-android-20.0.2

By: a guest on Jul 26th, 2012  |  syntax: None  |  size: 1.36 KB  |  views: 93  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Jakub Schmidtke <sjakub-at-gmail-dot-com>
  2. # Contributor: Forrest L <cybercyst at gmail com>
  3. # Contributor: Michael P <ptchinster@archlinux.us>
  4. # Contributor: Marcin "eXine" M. <exine@jun.pl>
  5. # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
  6. # Contributor: Ashok `ScriptDevil` Gautham <ScriptDevil@gmail.com>
  7. # Contributor: Laszlo Papp <djszapi2 at gmail com>
  8. # Contributor: Antonio Santos <asantos at gmail dot com>
  9.  
  10. pkgname=eclipse-android
  11. pkgver=20.0.2
  12. pkgrel=1
  13. pkgdesc='Eclipse plugin for Android'
  14. url='https://developer.android.com/sdk/eclipse-adt.html'
  15. license=('Apache' 'BSD' 'EPL' 'LGPL')
  16. arch=('any')
  17. depends=('android-sdk>=r20.0.1' 'java-environment>=6' 'eclipse>=3.6.2' 'eclipse-wtp')
  18. makedepends=('unzip')
  19. options=('!strip')
  20. source=("http://dl.google.com/android/ADT-${pkgver}.zip" "LICENSE.kxml2")
  21. sha1sums=('392b0e8c49aa80778f654a726f2ce5908efa0786'
  22.           'c0a96dc032bb53e2921200c85f5cf650e49878e9')
  23.  
  24. package() {
  25.   _dest="${pkgdir}/usr/share/eclipse/dropins/android/eclipse"
  26.  
  27.   cd "${srcdir}"
  28.  
  29.   # Features
  30.   for _f in features/*.jar; do
  31.     _dir="${_dest}/${_f/.jar}"
  32.     mkdir -p "${_dir}"
  33.     unzip "${_f}" -d "${_dir}"
  34.   done
  35.  
  36.   # Plugins
  37.   for _p in plugins/*.jar; do
  38.     install -Dm644 "${_p}" "${_dest}/${_p}"
  39.   done
  40.  
  41.   install -D -m644 LICENSE.kxml2 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.kxml2"
  42. }