public
Created

eclipse-android 21.0.0-1

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
# 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"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.