summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKppqju772024-01-03 08:52:00 +0100
committerKppqju772024-01-03 08:52:00 +0100
commit4f957679fbb842d46ec5caa17c87a4cf6c835f05 (patch)
tree9d4b9bef17aa79752a41e173cf7c0240c257598e
parent8a204d962a0754f12e351ca922c79452ff49c350 (diff)
downloadaur-android-sources.tar.gz
Bump to 34_r02
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
-rw-r--r--package.xml2
3 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 90c24f8bfeba..bbac5c3856ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = android-sources
pkgdesc = Android SDK Sources, latest API
- pkgver = 34_r01
+ pkgver = 34_r02
pkgrel = 1
url = https://developer.android.com/studio/index.html
arch = any
@@ -9,7 +9,7 @@ pkgbase = android-sources
options = !strip
source = https://dl.google.com/android/repository/sources-34_r01.zip
source = package.xml
- sha256sums = 23a3d75d3228d414ff9ec1288ed525d97d54e062a80475f88986eb3fffac4321
- sha256sums = c9fd5335b4c774be07b78e871e3ce2454e3f57eebfb020cf86fcd984b07c291e
+ sha256sums = 152505964344e17cbfcd56b4ef7afde7e4d60e9892136bc12f423b06566c1430
+ sha256sums = 9a9074639babb0381a63d88355a0fc2b1f9588f2edfa78a095aa82e592afa18c
pkgname = android-sources
diff --git a/PKGBUILD b/PKGBUILD
index a6c368ac66b1..e2c9df84f055 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,8 @@
# Contributor: Joel Pedraza <joel@joelpedraza.com>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
-_rev=r01
+_rev=r02
+_dl_rev=r01
_sdkint=34
pkgname="android-sources"
pkgver="${_sdkint}_${_rev}"
@@ -19,11 +20,10 @@ url="https://developer.android.com/studio/index.html"
license=('custom')
conflicts=("android-sources-${_sdkint}")
options=('!strip')
-source=("https://dl.google.com/android/repository/sources-${_sdkint}_${_rev}.zip"
+source=("https://dl.google.com/android/repository/sources-${_sdkint}_${_dl_rev}.zip"
"package.xml")
-sha256sums=('23a3d75d3228d414ff9ec1288ed525d97d54e062a80475f88986eb3fffac4321'
- 'c9fd5335b4c774be07b78e871e3ce2454e3f57eebfb020cf86fcd984b07c291e')
-
+sha256sums=('152505964344e17cbfcd56b4ef7afde7e4d60e9892136bc12f423b06566c1430'
+ '9a9074639babb0381a63d88355a0fc2b1f9588f2edfa78a095aa82e592afa18c')
package() {
# Install files
@@ -32,4 +32,6 @@ package() {
chmod -R ugo+rX "${pkgdir}/opt"
# Install license
install -D -m 644 "package.xml" "${pkgdir}/usr/share/licenses/${pkgname}/package.xml"
+ ln -s "/usr/share/licenses/${pkgname}/package.xml" \
+ "${pkgdir}/opt/android-sdk/sources/android-${_sdkint}/"
}
diff --git a/package.xml b/package.xml
index f062f128da2b..0b26067ca8b0 100644
--- a/package.xml
+++ b/package.xml
@@ -138,4 +138,4 @@ This is the Android Software Development Kit License Agreement
14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
-January 16, 2019</license><localPackage path="sources;android-34" obsolete="false"><type-details xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns11:sourceDetailsType"><api-level>34</api-level><codename></codename><extension-level>7</extension-level><base-extension>true</base-extension></type-details><revision><major>1</major></revision><display-name>Sources for Android 34</display-name><uses-license ref="android-sdk-license"/></localPackage></ns2:repository> \ No newline at end of file
+January 16, 2019</license><localPackage path="sources;android-34" obsolete="false"><type-details xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns11:sourceDetailsType"><api-level>34</api-level><codename></codename><extension-level>7</extension-level><base-extension>true</base-extension></type-details><revision><major>2</major></revision><display-name>Sources for Android 34</display-name><uses-license ref="android-sdk-license"/></localPackage></ns2:repository> \ No newline at end of file