summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlester2014-04-13 03:14:31 +0800
committerlester2014-08-06 02:00:30 +0800
commite8b07a38a938dff2c349b95388633aa0a58d6e36 (patch)
tree98795034d986c56d4dc4ab61c2f1b167a0a22aec
parentb16f65c47d70131edd911e3b3a4e6d3a71b2e578 (diff)
downloadaur-e8b07a38a938dff2c349b95388633aa0a58d6e36.tar.gz
Change variable _sdkint to _apilevel
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4f8ef063964..3efce1cb6db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_rev=r03
_sdkver=4.4.2
-_sdkint=19
+_apilevel=19
pkgname=android-platform
pkgver=${_sdkver}_${_rev}
pkgrel=1
@@ -14,15 +14,15 @@ arch=('any')
url="http://developer.android.com/sdk/index.html"
license=('custom')
depends=('android-sdk' 'android-sdk-platform-tools')
-provides=("${pkgname}-${_sdkint}")
-conflicts=("${pkgname}-${_sdkint}")
+provides=("${pkgname}-${_apilevel}")
+conflicts=("${pkgname}-${_apilevel}")
options=('!strip')
-source=("http://dl.google.com/android/repository/android-${_sdkint}_${_rev}.zip")
+source=("http://dl.google.com/android/repository/android-${_apilevel}_${_rev}.zip")
sha1sums=('5f33d8fd36a384fe2b170035e04a29c274a9ef95')
package() {
mkdir -p "${pkgdir}/opt/android-sdk/platforms/"
- mv "${srcdir}/android-${_sdkver}" "${pkgdir}/opt/android-sdk/platforms/android-${_sdkint}"
+ mv "${srcdir}/android-${_sdkver}" "${pkgdir}/opt/android-sdk/platforms/android-${_apilevel}"
chmod -R ugo+rX "${pkgdir}/opt"
}