summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuci2015-06-11 21:33:22 +0200
committerKuci2015-06-11 21:33:22 +0200
commitecb9c914f512f43ebd49d76986ebac15a414147a (patch)
tree6ed304e93738efb207e59617556e90a6c807336a
downloadaur-android-platform-21.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD23
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dc1f2aba5b9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = android-platform-21
+ pkgdesc = Android SDK Platform, API-21
+ pkgver = 5.0.1_r02
+ 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-21_r02.zip
+ sha512sums = a4e68fe01369505499c9f0a99a228a7717a73f6e74ef0a59dc3f0bd48706a715b132b5ba4ca5a484dafd465c2ab08a5fbe525b487c62824fca2fab44cade809c
+
+pkgname = android-platform-21
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6064234fcd2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+*.tar.*
+*.zip
+*.7z
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7730934dc2d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+_rev=r02
+_sdkver=5.0.1
+_sdkint=21
+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")
+sha512sums=('a4e68fe01369505499c9f0a99a228a7717a73f6e74ef0a59dc3f0bd48706a715b132b5ba4ca5a484dafd465c2ab08a5fbe525b487c62824fca2fab44cade809c')
+
+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"
+}