Add android-system-image-arm64-v8a
This commit is contained in:
parent
5cdd497c2a
commit
c45b90f55b
|
@ -48,24 +48,9 @@ depends=('java-runtime-headless>=7'
|
||||||
'android-sdk-build-tools'
|
'android-sdk-build-tools'
|
||||||
'android-sdk-platform-tools')
|
'android-sdk-platform-tools')
|
||||||
groups=('android-qt5')
|
groups=('android-qt5')
|
||||||
optdepends=("android-openssl-${android_arch}: OpenSSL support")
|
optdepends=("android-openssl-${android_arch}: OpenSSL support"
|
||||||
|
"android-google-apis-${android_arch}: AVD support"
|
||||||
case "$android_arch" in
|
"android-system-image-${android_arch}: AVD support")
|
||||||
arm*)
|
|
||||||
optdepends=('android-google-apis-armv7a-eabi: AVD support'
|
|
||||||
'android-armv7a-eabi-system-image: AVD support')
|
|
||||||
;;
|
|
||||||
x86)
|
|
||||||
optdepends=('android-google-apis-x86: AVD support'
|
|
||||||
'android-x86-system-image: AVD support')
|
|
||||||
;;
|
|
||||||
x86_64)
|
|
||||||
optdepends=('android-google-apis-x86-64: AVD support'
|
|
||||||
'android-x86-64-system-image: AVD support')
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
options=('!strip'
|
options=('!strip'
|
||||||
'!buildflags'
|
'!buildflags'
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
# Maintainer: Martchus <martchus@gmx.net>
|
||||||
|
|
||||||
|
_android_api_level=24
|
||||||
|
_rev=r07
|
||||||
|
_android_arch=arm64-v8a
|
||||||
|
|
||||||
|
pkgname=android-system-image-${_android_arch}
|
||||||
|
pkgver=${_android_api_level}_${_rev}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Android system image (${_android_arch}, latest API)"
|
||||||
|
arch=('any')
|
||||||
|
url='http://developer.android.com/sdk/index.html'
|
||||||
|
license=('custom')
|
||||||
|
depends=("android-platform")
|
||||||
|
provides=("${pkgname}-${_android_api_level}")
|
||||||
|
conflicts=("${pkgname}-${_android_api_level}")
|
||||||
|
options=('!strip')
|
||||||
|
source=("http://dl-ssl.google.com/android/repository/sys-img/android/${_android_arch}-${_android_api_level}_${_rev}.zip"
|
||||||
|
"source.properties")
|
||||||
|
sha1sums=('3454546b4eed2d6c3dd06d47757d6da9f4176033'
|
||||||
|
'e03457681f0105a1679cbb8af213b0c8600f9bee')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
_destdir="${pkgdir}/opt/android-sdk/system-images/android-${_android_api_level}/default"
|
||||||
|
mkdir -p "${_destdir}"
|
||||||
|
mv "${srcdir}/${_android_arch}" "${_destdir}"
|
||||||
|
install -Dm644 "${srcdir}/source.properties" "${_destdir}/${_android_arch}/"
|
||||||
|
|
||||||
|
chmod -R ugo+rX "${pkgdir}/opt"
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue