summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorScott Moak2015-06-12 20:20:47 -0700
committerScott Moak2015-06-12 20:20:47 -0700
commit813661bf7a2b045046e13ccffbcead76af1eefc5 (patch)
tree1a6a4878b9a0cf0a10d891bf1b3320eca9d7da14 /PKGBUILD
downloadaur-813661bf7a2b045046e13ccffbcead76af1eefc5.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fde7af51494
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Scott Moak <scott-dot-moak-at-gmail-dot-com>
+
+pkgname=android-support-repository
+pkgver=r15
+pkgrel=1
+pkgdesc='Android Support Repository Package'
+arch=('any')
+url="https://developer.android.com/sdk/index.html"
+license=('custom')
+depends=('android-sdk')
+options=('!strip')
+source=("http://dl-ssl.google.com/android/repository/android_m2repository_${pkgver}.zip")
+sha1sums=('2c51feb406ce3c7e09db8339a0d680beb91b8bf1')
+
+package() {
+ mkdir -p "${pkgdir}/opt/android-sdk/extras/android/"
+ cp -dpr --no-preserve=ownership "${srcdir}/m2repository" "${pkgdir}/opt/android-sdk/extras/android/m2repository"
+
+ chmod -R ugo+rX "${pkgdir}/opt"
+}