2014-11-14 01:25:50 +08:00
|
|
|
cask :v1 => 'filezilla' do
|
2015-01-06 21:31:05 +08:00
|
|
|
|
|
|
|
if MacOS.release <= :snow_leopard
|
|
|
|
version '3.8.1'
|
|
|
|
sha256 '86c725246e2190b04193ce8e7e5ea89d5b9318e9f20f5b6f9cdd45b6f5c2d283'
|
|
|
|
else
|
2015-06-04 11:20:20 +08:00
|
|
|
version '3.11.0.2'
|
|
|
|
sha256 'fa64928e768bfcd946ec4c5963ad8de5dc0b0ab7cb43e000ecdcf7c7d31fd719'
|
2015-01-06 21:31:05 +08:00
|
|
|
end
|
2014-06-27 08:01:11 +08:00
|
|
|
|
2015-01-18 03:00:47 +08:00
|
|
|
# sourceforge.net is the official download host per the vendor homepage
|
2014-12-17 21:14:36 +08:00
|
|
|
url "http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/#{version}/FileZilla_#{version}_macosx-x86.app.tar.bz2"
|
2015-01-21 10:36:46 +08:00
|
|
|
name 'FileZilla'
|
2014-06-27 08:01:11 +08:00
|
|
|
homepage 'https://filezilla-project.org/'
|
2015-02-01 02:17:50 +08:00
|
|
|
license :gpl
|
2014-06-27 08:01:11 +08:00
|
|
|
|
2014-09-16 00:05:34 +08:00
|
|
|
app 'FileZilla.app'
|
2015-02-10 15:40:10 +08:00
|
|
|
|
|
|
|
zap :delete => [
|
|
|
|
'~/Library/Saved Application State/de.filezilla.savedState',
|
2015-04-27 18:25:47 +08:00
|
|
|
'~/Library/Preferences/de.filezilla.plist',
|
2015-02-10 15:40:10 +08:00
|
|
|
],
|
|
|
|
:rmdir => '~/.config/filezilla'
|
2013-07-04 20:43:07 +08:00
|
|
|
end
|