diff options
author | Christoph Bayer | 2015-06-21 13:10:58 +0200 |
---|---|---|
committer | Christoph Bayer | 2015-06-21 13:10:58 +0200 |
commit | 68a02e4dc8c5c477a61603ec0a60a80eff8a85d1 (patch) | |
tree | 6876efcaed40c2c375868b0c54c3a84e511a68fd | |
download | aur-android-sources-22.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..59effabad4c2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = android-sources-22 + pkgdesc = Android SDK Sources, API-22 + pkgver = 5.1_r01 + pkgrel = 1 + url = http://developer.android.com/sdk/index.html + arch = any + license = custom + options = !strip + source = http://dl.google.com/android/repository/sources-22_r01.zip + sha1sums = 98320e13976d11597a4a730a8d203ac9a03ed5a6 + +pkgname = android-sources-22 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7da6179c9830 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Philipp Wolfer <ph.wolfer@gmail.com> +# Contributor: Joel Pedraza <joel@joelpedraza.com> +# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com> + +_rev=r01 +_sdkver=5.1 +_sdkint=22 +pkgname=android-sources-${_sdkint} +pkgver=${_sdkver}_${_rev} +pkgrel=1 +pkgdesc="Android SDK Sources, API-${_sdkint}" +arch=('any') +url="http://developer.android.com/sdk/index.html" +license=('custom') +options=('!strip') +source=("http://dl.google.com/android/repository/sources-${_sdkint}_${_rev}.zip") +sha1sums=('98320e13976d11597a4a730a8d203ac9a03ed5a6') + +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" +} |