homebrew-cask/Casks/fuse.rb

22 lines
594 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'fuse' do
2016-01-05 00:51:30 +08:00
version '0.9.5.5424'
sha256 '7689fc1c3c2ca4ad89fd68ee80c59a24c130d6cc2cd8651812c39321405149e3'
2015-12-10 11:30:05 +08:00
url "https://api.fusetools.com/fuse-release-management/releases/#{version}/osx"
2016-01-04 23:50:19 +08:00
name 'Fuse Fusetools'
2015-12-10 11:30:05 +08:00
homepage 'https://www.fusetools.com'
license :closed
container type: :pkg
pkg 'fuse.pkg'
2015-12-13 23:21:37 +08:00
# This is a horrible hack to force the file extension. The
# backend code should be fixed so that this is not needed.
2015-12-10 11:30:05 +08:00
preflight do
system '/bin/mv', '--', staged_path.join('osx'), staged_path.join('fuse.pkg')
end
uninstall pkgutil: 'com.fusetools.fuse'
2015-12-10 11:30:05 +08:00
end