summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorQuint Guvernator2016-06-02 11:44:38 -0400
committerQuint Guvernator2016-06-02 11:55:47 -0400
commitd04616fe20b0b6da286cfa6b387957f6488bbdd2 (patch)
tree48c0da76250fcc2538d461a5c1d48f664067d0a9 /PKGBUILD
downloadaur-d04616fe20b0b6da286cfa6b387957f6488bbdd2.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d72247ac64e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Quint Guvernator <quint@guvernator.net>
+
+_rev=r05
+_sdkver=4.4.2
+_sdkint=19
+pkgname=android-x86-system-image-${_sdkint}
+pkgver=${_sdkver}_${_rev}
+pkgrel=1
+pkgdesc="Android x86 Atom System Image, API-${_sdkint}"
+arch=('any')
+url="http://developer.android.com/sdk/index.html"
+license=('custom')
+depends=("android-platform-${_sdkint}")
+options=('!strip')
+source=("http://dl.google.com/android/repository/sys-img/android/sysimg_x86-${_sdkint}_${_rev}.zip")
+sha1sums=('c9298a8eafceed3b8fa11071ba63a3d18e17fd8e')
+
+package() {
+ mkdir -p "${pkgdir}/opt/android-sdk/system-images/android-${_sdkint}/default"
+ cp -dpr --no-preserve=ownership "${srcdir}/x86" "${pkgdir}/opt/android-sdk/system-images/android-${_sdkint}/default/x86"
+
+ chmod -R ugo+rX "${pkgdir}/opt"
+}