diff options
author | Andrea Scarpino | 2016-02-28 15:59:59 +0100 |
---|---|---|
committer | Andrea Scarpino | 2016-02-28 15:59:59 +0100 |
commit | f4490b072b8a2ca1f03c3a19b34b70f1f03f6505 (patch) | |
tree | 57a59348785392d4a8aa12b74bfbcf9f98c199d6 | |
download | aur-android-platform-16.tar.gz |
Import from old AUR
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d3dbecd63191 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Sun Feb 28 14:59:49 UTC 2016 +pkgbase = android-platform-16 + pkgdesc = Android SDK Platform, API-16 + pkgver = 4.1.2_r05 + pkgrel = 1 + url = http://developer.android.com/sdk/index.html + arch = any + license = custom + depends = android-sdk + options = !strip + source = http://dl-ssl.google.com/android/repository/android-16_r05.zip + sha1sums = 12a5ce6235a76bc30f62c26bda1b680e336abd07 + +pkgname = android-platform-16 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..88d34beba81b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Jakub Schmidtke <sjakub-at-gmail-dot-com> + +_rev=r05 +_ver=4.1.2 +_api=16 +pkgname=android-platform-${_api} +pkgver=${_ver}_${_rev} +pkgrel=1 +pkgdesc="Android SDK Platform, API-${_api}" +arch=('any') +url="http://developer.android.com/sdk/index.html" +license=('custom') +depends=('android-sdk') +options=('!strip') +source=("http://dl-ssl.google.com/android/repository/android-${_api}_${_rev}.zip") +sha1sums=('12a5ce6235a76bc30f62c26bda1b680e336abd07') + +package() { + mkdir -p "${pkgdir}/opt/android-sdk/platforms/" + mv "${srcdir}/android-${_ver}" "${pkgdir}/opt/android-sdk/platforms/android-${_api}" + + chmod -R ugo+rX "${pkgdir}/opt" +} |