blob: 4132a64d89388d47f8344cebb1a9bbaf4c2a0c8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Joel Pedraza <joel@joelpedraza.com>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
_rev=r03
_sdkver=4.2.2
_sdkint=17
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')
options=('!strip')
source=("http://dl.google.com/android/repository/android-${_sdkint}_${_rev}.zip")
sha1sums=('dbe14101c06e6cdb34e300393e64e64f8c92168a')
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"
}
|