Skip to content

Instantly share code, notes, and snippets.

@saik0
Created November 13, 2012 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saik0/4068611 to your computer and use it in GitHub Desktop.
Save saik0/4068611 to your computer and use it in GitHub Desktop.
eclipse-android 21.0.0-1
# Maintainer: Jakub Schmidtke <sjakub-at-gmail-dot-com>
# Contributor: Joel Pedraza <joel@joelpedraza.com>
# Contributor: Forrest L <cybercyst at gmail com>
# Contributor: Michael P <ptchinster@archlinux.us>
# Contributor: Marcin "eXine" M. <exine@jun.pl>
# Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
# Contributor: Ashok `ScriptDevil` Gautham <ScriptDevil@gmail.com>
# Contributor: Laszlo Papp <djszapi2 at gmail com>
# Contributor: Antonio Santos <asantos at gmail dot com>
pkgname=eclipse-android
pkgver=21.0.0
pkgrel=1
pkgdesc='Eclipse plugin for Android'
url='http://tools.android.com/download/adt-21-preview'
license=('Apache' 'BSD' 'EPL' 'LGPL')
arch=('any')
depends=('android-sdk>=r21' 'java-environment>=6' 'eclipse>=3.6.2' 'eclipse-wtp')
makedepends=('unzip')
options=('!strip')
source=("http://dl.google.com/android/ADT-${pkgver}.zip" "LICENSE.kxml2")
sha1sums=('4f6b81a5723351cd45bf840932d1a75277a6a7d7'
'c0a96dc032bb53e2921200c85f5cf650e49878e9'
package() {
_dest="${pkgdir}/usr/share/eclipse/dropins/android/eclipse"
cd "${srcdir}"
# Features
for _f in features/*.jar; do
_dir="${_dest}/${_f/.jar}"
mkdir -p "${_dir}"
unzip "${_f}" -d "${_dir}"
done
# Plugins
for _p in plugins/*.jar; do
install -Dm644 "${_p}" "${_dest}/${_p}"
done
install -D -m644 LICENSE.kxml2 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.kxml2"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment