mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-11 22:06:11 -06:00
The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly makes it more secure and saves a HTTP round-trip.
16 lines
613 B
Ruby
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
|