#@IgnoreInspection BashAddShebang # Maintainer: Jérémy "Vrakfall" Lecocq # Contributor: Bence Hornák # Contributor: lestb # Contributor: danyf90 # Contributor: Philipp Wolfer # Contributor: Joel Pedraza # Contributor: Jakub Schmidtke _rev=r01 _sdkint=26 _sdkver=8.0.0 pkgname="android-sources" pkgver="${_sdkver}_${_rev}" pkgrel=1 pkgdesc="Android SDK Sources, latest API" arch=('any') url="https://developer.android.com/studio/index.html" license=('custom') conflicts=("android-sources=${_sdkint}") options=('!strip') source=("https://dl.google.com/android/repository/sources-${_sdkint}_${_rev}.zip") sha256sums=('a1461c180c414eed7866a8aebada38c64846ed0084814d2f5f773584338440f5') package() { mkdir -p "${pkgdir}/opt/android-sdk/sources/" cp -dpr --no-preserve=ownership "${srcdir}/src" "${pkgdir}/opt/android-sdk/sources/android-${_sdkint}" chmod -R ugo+rX "${pkgdir}/opt" }