summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlackleg2015-08-08 17:00:06 +0200
committerBlackleg2015-08-08 17:00:06 +0200
commit80c1474d147246bfe28a21fb4f05bdab15b2ba66 (patch)
tree0a3b8765c4e46b61ba603cb22eb708bbd0b1c719
downloadaur-80c1474d147246bfe28a21fb4f05bdab15b2ba66.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD23
3 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..157d38f25ef
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = android-platform-20
+ pkgdesc = Android SDK Platform, API-20
+ pkgver = 4.4W.2_r02
+ pkgrel = 2
+ 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-20_r02.zip
+ sha512sums = 458fee18cc8c0f63e00853388cbd5a475d2ef3cf231a8aea79b0bb2ce064a1b16d34f21dff0cd21d5a02b43c1b6e1200e595bc37e4e5d6be3a0896ab544e0fd1
+
+pkgname = android-platform-20
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c4c4ffc6aa4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.zip
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..49b36cb86e7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+_rev=r02
+_sdkver=4.4W.2
+_sdkint=20
+pkgname=android-platform-${_sdkint,,}
+pkgver=${_sdkver}_${_rev}
+pkgrel=2
+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=('458fee18cc8c0f63e00853388cbd5a475d2ef3cf231a8aea79b0bb2ce064a1b16d34f21dff0cd21d5a02b43c1b6e1200e595bc37e4e5d6be3a0896ab544e0fd1')
+
+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"
+}