summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlackleg2015-08-09 19:55:39 +0200
committerBlackleg2015-08-09 19:55:39 +0200
commit0ae2f4dc0b52b526f51632b828613c5bba7f9ecb (patch)
treebd493ed8dabc0fdb6ae4d7b4ecd526b8916bad70
parent80c1474d147246bfe28a21fb4f05bdab15b2ba66 (diff)
downloadaur-0ae2f4dc0b52b526f51632b828613c5bba7f9ecb.tar.gz
$1
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD10
3 files changed, 15 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 157d38f25ef..2dee558d79d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-platform-20
pkgdesc = Android SDK Platform, API-20
pkgver = 4.4W.2_r02
- pkgrel = 2
+ pkgrel = 4
url = http://developer.android.com/sdk/index.html
arch = any
license = custom
diff --git a/.gitignore b/.gitignore
index c4c4ffc6aa4..d74774b2a0b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,7 @@
*.zip
+*.tar.xz
+
+pkg
+src
+
+uploadaur
diff --git a/PKGBUILD b/PKGBUILD
index 49b36cb86e7..41846a5de0a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
# Maintainer: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+# Maintainer: blackleg <blackleg@openaliasbox.org>
_rev=r02
_sdkver=4.4W.2
_sdkint=20
pkgname=android-platform-${_sdkint,,}
pkgver=${_sdkver}_${_rev}
-pkgrel=2
+pkgrel=4
pkgdesc="Android SDK Platform, API-${_sdkint}"
arch=('any')
url="http://developer.android.com/sdk/index.html"
@@ -19,5 +20,10 @@ 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"
+ #chmod -R ugo+rX "${pkgdir}/opt"
+
+ #Change group users
+ chown -R :sdkusers "${pkgdir}/opt/android-sdk"
+ #Change permisions
+ chmod -R ug+rwX,o=rX "${pkgdir}/opt/android-sdk"
}