summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Moak2015-06-12 20:20:47 -0700
committerScott Moak2015-06-12 20:20:47 -0700
commit813661bf7a2b045046e13ccffbcead76af1eefc5 (patch)
tree1a6a4878b9a0cf0a10d891bf1b3320eca9d7da14
downloadaur-813661bf7a2b045046e13ccffbcead76af1eefc5.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..021337eab57
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = android-support-repository
+ pkgdesc = Android Support Repository Package
+ pkgver = r15
+ pkgrel = 1
+ url = https://developer.android.com/sdk/index.html
+ arch = any
+ license = custom
+ depends = android-sdk
+ options = !strip
+ source = http://dl-ssl.google.com/android/repository/android_m2repository_r15.zip
+ sha1sums = 2c51feb406ce3c7e09db8339a0d680beb91b8bf1
+
+pkgname = android-support-repository
+
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"
+}