summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88d34beba81b3e636b4b3d3ebe827e62d16ec888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jakub Schmidtke <sjakub-at-gmail-dot-com>

_rev=r05
_ver=4.1.2
_api=16
pkgname=android-platform-${_api}
pkgver=${_ver}_${_rev}
pkgrel=1
pkgdesc="Android SDK Platform, API-${_api}"
arch=('any')
url="http://developer.android.com/sdk/index.html"
license=('custom')
depends=('android-sdk')
options=('!strip')
source=("http://dl-ssl.google.com/android/repository/android-${_api}_${_rev}.zip")
sha1sums=('12a5ce6235a76bc30f62c26bda1b680e336abd07')

package() {
  mkdir -p "${pkgdir}/opt/android-sdk/platforms/"
  mv "${srcdir}/android-${_ver}" "${pkgdir}/opt/android-sdk/platforms/android-${_api}"

  chmod -R ugo+rX "${pkgdir}/opt"
}