summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d3dbecd6319
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Sun Feb 28 14:59:49 UTC 2016
+pkgbase = android-platform-16
+ pkgdesc = Android SDK Platform, API-16
+ pkgver = 4.1.2_r05
+ pkgrel = 1
+ url = http://developer.android.com/sdk/index.html
+ arch = any
+ license = custom
+ depends = android-sdk
+ options = !strip
+ source = http://dl-ssl.google.com/android/repository/android-16_r05.zip
+ sha1sums = 12a5ce6235a76bc30f62c26bda1b680e336abd07
+
+pkgname = android-platform-16
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..88d34beba81
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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"
+}