From c301b4e83c1f0b96aca2c5e3117c532c2e6b5bdf Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Mon, 20 Jan 2020 14:00:36 +0100 Subject: pcr-testing: android-sdk-meta: fix fetching Signed-off-by: Denis 'GNUtoo' Carikli --- pcr-testing/android-sdk-meta/PKGBUILD | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pcr-testing/android-sdk-meta/PKGBUILD b/pcr-testing/android-sdk-meta/PKGBUILD index 1aa05d79c..26f33e7fe 100644 --- a/pcr-testing/android-sdk-meta/PKGBUILD +++ b/pcr-testing/android-sdk-meta/PKGBUILD @@ -4,19 +4,19 @@ pkgbase=android-sdk-meta pkgname=(android-sdk android-sdk-build-tools android-sdk-platform-tools) _debver=25.0.0 pkgver=$_debver -_debrel=8 +_debrel=12 pkgrel=1 arch=(any) url="https://developer.android.com/studio/releases/sdk-tools.html" license=('APACHE') -source=("https://debian.simnet.is/debian/pool/main/a/${pkgbase}/${pkgbase}_${_debver}+${_debrel}.tar.xz") -sha512sums=('fecab0a24f9903c350d169dea5b8ffd03ea27c9ea254e9076d063a720dbd89f79458bb8186a4aacdb76e7f425432aaa2be08cb30df5201418ecabae1135958a5') +source=("http://ftp.debian.org/debian/pool/main/a/${pkgbase}/${pkgbase}_${_debver}+${_debrel}.tar.xz") +sha512sums=('fa1a9f2a33f03e031e2a2bde6fd74508c4e35c63fb959c1432c08f2d4683362fbde28126c951006bb18d620894273bbf0fef22ec3134fdec145fed9d0aa92794') package_android-sdk(){ pkgdesc="Software development kit for Android platform" depends=(proguard android-sdk-build-tools android-sdk-platform-tools) - cd "${pkgbase}-${_debver}+${_debrel}" + cd "${pkgbase}" local bins="e2fsck fsck.ext4 @@ -42,23 +42,21 @@ package_android-sdk(){ } package_android-sdk-build-tools(){ - pkgver=24.0.0 pkgdesc="Tools for building Android applications" - cd "${pkgbase}-${_debver}+${_debrel}" + cd "${pkgbase}" mkdir -p $pkgdir/usr/lib/android-sdk/build-tools - cp -r build-tools $pkgdir/usr/lib/android-sdk/build-tools/$pkgver + cp -r build-tools $pkgdir/usr/lib/android-sdk/build-tools/24.0.0 mkdir -p $pkgdir/usr/share/licenses/$pkgname cp debian/copyright $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT } package_android-sdk-platform-tools(){ - pkgver=24.0.0 pkgdesc="Tools for interacting with an Android platform" depends=(sqlite3 android-tools android-sdk-platform-tools android-udev) - cd "${pkgbase}-${_debver}+${_debrel}" + cd "${pkgbase}" mkdir -p $pkgdir/usr/lib/android-sdk cp -r platform-tools $pkgdir/usr/lib/android-sdk ln -s /usr/bin/sqlite3 $pkgdir/usr/lib/android-sdk/platform-tools/sqlite3 -- cgit v1.2.3