diff options
author | Andrea Scarpino | 2016-02-29 19:55:27 +0100 |
---|---|---|
committer | Andrea Scarpino | 2016-02-29 19:55:27 +0100 |
commit | faf1469f3256d7f7beb3498674eeb5254bdc5314 (patch) | |
tree | aea4abdb00d201581e4f0aeabdf66f7e2205229f | |
download | aur-android-platform-19.tar.gz |
Import from old AUR
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2568636c81fc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Mon Feb 29 18:55:24 UTC 2016 +pkgbase = android-platform-19 + pkgdesc = Android SDK Platform, API-19 + pkgver = 4.4.2_r04 + pkgrel = 1 + url = http://developer.android.com/sdk/index.html + arch = any + license = custom + depends = android-sdk + depends = android-sdk-platform-tools + options = !strip + source = http://dl.google.com/android/repository/android-19_r04.zip + sha1sums = 2ff20d89e68f2f5390981342e009db5a2d456aaa + +pkgname = android-platform-19 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6c54d9b71854 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Philipp Wolfer <ph.wolfer@gmail.com> +# Contributor: Joel Pedraza <joel@joelpedraza.com> +# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com> + +_rev=r04 +_sdkver=4.4.2 +_sdkint=19 +pkgname=android-platform-${_sdkint} +pkgver=${_sdkver}_${_rev} +pkgrel=1 +pkgdesc="Android SDK Platform, API-${_sdkint}" +arch=('any') +url="http://developer.android.com/sdk/index.html" +license=('custom') +depends=('android-sdk' 'android-sdk-platform-tools') +options=('!strip') +source=("http://dl.google.com/android/repository/android-${_sdkint}_${_rev}.zip") +sha1sums=('2ff20d89e68f2f5390981342e009db5a2d456aaa') + +package() { + mkdir -p "${pkgdir}/opt/android-sdk/platforms/" + mv "${srcdir}/android-${_sdkver}" "${pkgdir}/opt/android-sdk/platforms/android-${_sdkint}" + + chmod -R ugo+rX "${pkgdir}/opt" +} |