homebrew-cask/Casks/filezilla.rb

25 lines
806 B
Ruby

cask :v1 => 'filezilla' do
if MacOS.release <= :snow_leopard
version '3.8.1'
sha256 '86c725246e2190b04193ce8e7e5ea89d5b9318e9f20f5b6f9cdd45b6f5c2d283'
else
version '3.11.0.2'
sha256 'fa64928e768bfcd946ec4c5963ad8de5dc0b0ab7cb43e000ecdcf7c7d31fd719'
end
# sourceforge.net is the official download host per the vendor homepage
url "http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/#{version}/FileZilla_#{version}_macosx-x86.app.tar.bz2"
name 'FileZilla'
homepage 'https://filezilla-project.org/'
license :gpl
app 'FileZilla.app'
zap :delete => [
'~/Library/Saved Application State/de.filezilla.savedState',
'~/Library/Preferences/de.filezilla.plist',
],
:rmdir => '~/.config/filezilla'
end