# Maintainer: Philipp Wolfer # Contributor: Joel Pedraza # Contributor: Jakub Schmidtke _rev=r04 _sdkver=4.4.2 _sdkint=19 pkgname=android-platform-${_sdkint} pkgver=${_sdkver}_${_rev} pkgrel=1 pkgdesc="Android SDK Platform, API-${_sdkint}" arch=('any') url="http://developer.android.com/sdk/index.html" license=('custom') depends=('android-sdk' 'android-sdk-platform-tools') options=('!strip') source=("http://dl.google.com/android/repository/android-${_sdkint}_${_rev}.zip") sha1sums=('2ff20d89e68f2f5390981342e009db5a2d456aaa') package() { mkdir -p "${pkgdir}/opt/android-sdk/platforms/" mv "${srcdir}/android-${_sdkver}" "${pkgdir}/opt/android-sdk/platforms/android-${_sdkint}" chmod -R ugo+rX "${pkgdir}/opt" }