summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorblackleg2016-03-09 11:11:39 +0100
committerblackleg2016-03-09 11:11:39 +0100
commit266ef43f873fae47d0ef452ed1ba4e00fa4dca97 (patch)
tree56803c73c1e5cb139d3e0234db952521cae93ef9 /PKGBUILD
downloadaur-android-x86-system-image-15.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..02338b3a66f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Joel Pedraza <joel@joelpedraza.com>
+
+_sdkver=4.0.4
+_apiver=15
+_rel=r02
+pkgname=android-x86-system-image-${_apiver}
+pkgver=${_sdkver}_${_rel}
+pkgrel=2
+pkgdesc="Android x86 Atom System Image, API-${_apiver}"
+arch=('any')
+url="http://software.intel.com/en-us/articles/android-ice-cream-sandwich-x86-emulator-image"
+license=('custom')
+depends=("android-platform-${_apiver}")
+optdepends=('qemu' 'libvirt')
+options=('!strip')
+source=("https://dl.google.com/android/repository/sys-img/android/sysimg_x86-${_apiver}_${_rel}.zip")
+sha1sums=('56b8d4b3d0f6a8876bc78d654da186f3b7b7c44f')
+
+package() {
+ mkdir -p "${pkgdir}/opt/android-sdk/system-images/android-${_apiver}/"
+ mv "${srcdir}/x86" "${pkgdir}/opt/android-sdk/system-images/android-${_apiver}/x86"
+
+ chmod -R ugo+rX "${pkgdir}/opt"
+}