summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuci2015-08-18 13:29:52 +0200
committerKuci2015-08-18 13:30:12 +0200
commitdda5699f32ce9503034822b51c06a876e0fdaa7e (patch)
treef8300b0f4b511acdc2fa60e47f9dc7046d60d1dd
downloadaur-android-platform-22.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD24
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..47fcc973811
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = android-platform-22
+ pkgdesc = Android SDK Platform, API-22
+ pkgver = 5.1.1_r02
+ pkgrel = 1
+ url = http://developer.android.com/sdk/index.html
+ arch = any
+ license = custom
+ depends = android-sdk
+ depends = android-sdk-platform-tools
+ conflicts = android-platform==22
+ options = !strip
+ source = http://dl.google.com/android/repository/android-22_r02.zip
+ sha1sums = 5d1bd10fea962b216a0dece1247070164760a9fc
+
+pkgname = android-platform-22
+
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..bfad2b11fe2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+_rev=r02
+_sdkver=5.1.1
+_sdkint=22
+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')
+conflicts=("android-platform==${_sdkint,,}")
+options=('!strip')
+source=("http://dl.google.com/android/repository/android-${_sdkint}_${_rev}.zip")
+sha1sums=('5d1bd10fea962b216a0dece1247070164760a9fc')
+
+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"
+}