From dab8a6c89396fb329de2e93c688e11afe4c1eb0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Szak=C3=A1ts?= Date: Tue, 10 Mar 2015 15:55:05 +0100 Subject: [PATCH] android-platform-tools: use https, modernize Closes Homebrew/homebrew#37573. Signed-off-by: Mike McQuaid --- Formula/android-platform-tools.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Formula/android-platform-tools.rb b/Formula/android-platform-tools.rb index a2c4a3df2c..e7eb0444a3 100644 --- a/Formula/android-platform-tools.rb +++ b/Formula/android-platform-tools.rb @@ -1,14 +1,12 @@ -require "formula" - class AndroidPlatformTools < Formula - homepage "http://developer.android.com/sdk" + homepage "https://developer.android.com/sdk" # the url is from: - # http://dl-ssl.google.com/android/repository/repository-8.xml - url "http://dl-ssl.google.com/android/repository/platform-tools_r21-macosx.zip" - version '21.0.0' - sha1 "6675f9f583841972c5c5ef8d2c131e1209529fde" + # https://dl.google.com/android/repository/repository-8.xml + url "https://dl.google.com/android/repository/platform-tools_r21-macosx.zip" + version "21.0.0" + sha256 "30ae8724da3db772a776d616b4746516f24ae81330e84315a7ce0c49e0b0b3cb" - conflicts_with 'android-sdk', + conflicts_with "android-sdk", :because => "the Android Platform-tools are part of the Android SDK" def install