pkgname=android-google-play-services pkgver=r27 _build=8115000 pkgrel=1 pkgdesc='Google Play Services client library and sample code' arch=('any') url="https://developers.google.com/android/google-play-services/" license=('custom') options=('!strip') source=("http://dl.google.com/android/repository/google_play_services_${_build}_${pkgver}.zip" "source.properties") md5sums=('56439484a09ea1153ac21cab295e1561' 'b57e84e218b2ad80a3eed9beab5edaab') package() { mkdir -p "${pkgdir}/opt/android-sdk/extras/google/" cp -dpr --no-preserve=ownership "${srcdir}/google-play-services" "${pkgdir}/opt/android-sdk/extras/google/google_play_services" chmod -R ugo+rX "${pkgdir}/opt" install -Dm644 "${srcdir}/source.properties" "${pkgdir}/opt/android-sdk/extras/google/google_play_services/source.properties" }