Skip to content

Instantly share code, notes, and snippets.

@saik0 saik0/PKGBUILD
Last active Aug 29, 2015

Embed
What would you like to do?
android-platform-20
_rev=r03
_sdkver=L
_sdkint=20
pkgname=android-platform-${_sdkint}
pkgver=${_sdkver}_${_rev}
pkgrel=2
pkgdesc="Android SDK Platform, API-${_sdkint}"
arch=('any')
url="http://developer.android.com/sdk/index.html"
license=('custom')
depends=('android-sdk')
options=('!strip')
source=("http://dl.google.com/android/repository/android-${_sdkver}_${_rev}.zip")
sha1sums=('76b6da426db06b2e2901dbc5e02d210ba83753c4')
package() {
mkdir -p "${pkgdir}/opt/android-sdk/platforms/"
mv "${srcdir}/android-${_sdkver}" "${pkgdir}/opt/android-sdk/platforms/android-${_sdkver}"
chmod -R ugo+rX "${pkgdir}/opt"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.