diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,7 +1,7 @@ # Maintainer: Hai Zhang <dreaming.in.code.zh@gmail.com> pkgname=android-sdk-cmdline-tools-latest -pkgver=11.0 +pkgver=12.0 pkgrel=1 pkgdesc='Android SDK Command-line Tools (latest)' arch=('x86_64' 'i686') @@ -12,16 +12,19 @@ optdepends=('android-sdk-platform-tools: adb, aapt, aidl, dexdump and dx' 'android-udev: udev rules for Android devices') provides=('android-sdk') install="${pkgname}.install" -source=('https://dl.google.com/android/repository/commandlinetools-linux-10406996_latest.zip' +source=('https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip' "${pkgname}.sh" - "${pkgname}.csh") -sha1sums=('87b485c7283cba69e41c10f05bf832d2fd691552' + "${pkgname}.csh" + 'package.xml') +sha1sums=('d313adb7aedccf6cf0cfca51ec180f0059f5f8f8' 'cbcfb844067eb40d7cab029c481f3f94f31f0518' - 'f71b94781633743850c760322dc3b370bc63fcaa') + 'f71b94781633743850c760322dc3b370bc63fcaa' + 'b1d13ddd9c45c4bfd334d5e27e7f59c262f10779') package() { mkdir -p "${pkgdir}/opt/android-sdk/cmdline-tools/" cp -a cmdline-tools "${pkgdir}/opt/android-sdk/cmdline-tools/latest" + install -Dm755 'package.xml' "${pkgdir}/opt/android-sdk/cmdline-tools/package.xml" install -Dm755 "${pkgname}.sh" "${pkgdir}/etc/profile.d/${pkgname}.sh" install -Dm755 "${pkgname}.csh" "${pkgdir}/etc/profile.d/${pkgname}.csh" } |