summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlester2014-11-29 22:07:16 +0800
committerlester2014-11-29 22:13:25 +0800
commitf49910f002b725f0e5610bbf51ba1eb433096efe (patch)
tree65349510ec98d04175223e7a97099cdd8fdf09d8 /PKGBUILD
downloadaur-f49910f002b725f0e5610bbf51ba1eb433096efe.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ab54c059b91
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: lestb <tkhdlstfl dot l plus aur at gmail dot com>
+
+_rev=r02
+_apilevel=21
+pkgname=android-google-apis-armv7a-eabi
+pkgver=${_apilevel}_${_rev}
+pkgrel=1
+pkgdesc="Android Google APIs ARM EABI v7a System Image, latest API"
+arch=('any')
+url="http://code.google.com/android/add-ons/google-apis"
+license=('custom')
+depends=("android-platform")
+provides=("${pkgname}-${_apilevel}" "${pkgname/armv7a/armv7}-${_apilevel}")
+conflicts=("${pkgname}-${_apilevel}" "${pkgname/armv7a/armv7}-${_apilevel}")
+options=('!strip')
+source=("http://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_arm-21_r02.zip"
+ "source.properties")
+sha1sums=('3b86f52b0141e3d9d52ae80af6e12037cc4a670f'
+ '5a4fef29d81edf276de020d2d587d0a4c83edc40')
+
+package() {
+ _destdir="${pkgdir}/opt/android-sdk/system-images/android-${_apilevel}/google_apis/"
+ mkdir -p "${_destdir}"
+ mv "${srcdir}"/armeabi-v7a "${_destdir}/"
+ install -Dm644 "${srcdir}/source.properties" "${_destdir}/${_apidir}/armeabi-v7a"
+
+ chmod -R ugo+rX "${pkgdir}/opt"
+}