homebrew-cask/Casks/fuse.rb

22 lines
606 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'fuse' do
version '1.8.1.15610'
sha256 '448fd88fef4dde6b258db3304dcbf8416237fd35ee928d48c4a0bc9d40d0556a'
2015-12-10 11:30:05 +08:00
url "https://www.fusetools.com/downloads/#{version}/osx"
2016-01-04 23:50:19 +08:00
name 'Fuse Fusetools'
homepage 'https://www.fusetools.com/'
2015-12-10 11:30:05 +08:00
depends_on macos: '>= :mavericks'
container type: :pkg
pkg 'fuse.pkg'
# This is a horrible hack to force the file extension.
# The backend code should be fixed so that this is not needed.
preflight do
system_command '/bin/mv', args: ['--', staged_path.join('osx'), staged_path.join('fuse.pkg')]
end
2015-12-10 11:30:05 +08:00
uninstall pkgutil: 'com.fusetools.fuse'
2015-12-10 11:30:05 +08:00
end