homebrew-cask-versions/Casks/xampp.rb
Jan Sauer af9e2e27bc Fix homepage to use SSL in XAMPP Cask
The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly
makes it more secure and saves a HTTP round-trip.
2015-06-02 22:34:44 +02:00

16 lines
613 B
Ruby

cask :v1 => 'xampp' do
version '5.6.3-0'
sha256 '23cd1b990397958b31e5904a340f416aed98b767a868bbcad7be123f53878828'
# sourceforge.net is the official download host per the vendor homepage
url "http://downloads.sourceforge.net/project/xampp/XAMPP%20Mac%20OS%20X/#{version.sub(%r{-\d+$},'')}/xampp-osx-#{version}-installer.dmg"
name 'XAMPP'
homepage 'https://www.apachefriends.org/'
license :gpl
installer :script => 'XAMPP.app/Contents/MacOS/osx-intel',
:args => [ '--mode', 'unattended' ]
uninstall :quit => 'com.bitnami.manager',
:delete => '/Applications/XAMPP/'
end