# Maintainer: Zhang Hai pkgname=android-emulator pkgver=29.3.4 pkgrel=1 pkgdesc='Google Android Emulator' arch=('x86_64') url='https://developer.android.com/studio/releases/emulator.html' license=('custom') depends=('libpulse' 'libx11' 'libxcb' 'libxdamage' 'libxext' 'libxfixes' 'ncurses5-compat-libs' 'zlib') install="${pkgname}.install" source=('https://dl.google.com/android/repository/emulator-linux-6110076.zip' "${pkgname}.sh" "${pkgname}.csh" 'package.xml') sha1sums=('87c035c616cc05deb9251c990bf43731f65e84da' '4537a7ce30bedf87cedafc2020822219ad58310d' '2fb371b5774b67143f0610dfbec4963a4e2f11cc' '178f13888f7565eb6300004b4812def3d10df30d') package() { install -Dm755 "${pkgname}.sh" "${pkgdir}/etc/profile.d/${pkgname}.sh" install -Dm755 "${pkgname}.csh" "${pkgdir}/etc/profile.d/${pkgname}.csh" install -d "${pkgdir}/opt/android-sdk/" cp -a emulator "${pkgdir}/opt/android-sdk/" install -Dm755 'package.xml' "${pkgdir}/opt/android-sdk/emulator/package.xml" # Fix broken permissions chmod -R o=g "${pkgdir}/opt/android-sdk/emulator" find "${pkgdir}/opt/android-sdk/emulator" -perm 744 -exec chmod 755 {} + } # getver: https://developer.android.com/studio/releases/emulator.html # see https://dl.google.com/android/repository/repository2-1.xml for new versions # vim:set ts=2 sw=2 et: