summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormijikai2013-11-08 02:52:42 -0800
committermijikai2013-11-08 02:52:42 -0800
commit8a46896b55d833d2ddfb264f72a7e090ab2550f8 (patch)
tree26f21bcf4825b0585fb33c89facbdd1c029f14e3
downloadaur-8a46896b55d833d2ddfb264f72a7e090ab2550f8.tar.gz
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5dcf96906ed
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = android-platform-19
+ pkgdesc = Android SDK Platform, API-19
+ pkgver = 4.4_r01
+ pkgrel = 1
+ url = http://developer.android.com/sdk/index.html
+ arch = any
+ license = custom
+ depends = android-sdk
+ depends = android-sdk-platform-tools
+ options = !strip
+ source = http://dl.google.com/android/repository/android-19_r01.zip
+ sha1sums = 96281811998272dce46e8285d15fce444a3d5a96
+
+pkgname = android-platform-19
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aa1adf19fa9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Philipp Wolfer <ph.wolfer@gmail.com>
+# Contributor: Joel Pedraza <joel@joelpedraza.com>
+# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
+
+_rev=r01
+_sdkver=4.4
+_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=('96281811998272dce46e8285d15fce444a3d5a96')
+
+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"
+}