homebrew-cask/Casks/td-toolbelt.rb

22 lines
540 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'td-toolbelt' do
2014-09-17 19:43:04 +08:00
version :latest
2014-08-15 11:59:07 +08:00
sha256 :no_check
url 'http://toolbelt.treasuredata.com/mac'
2015-05-05 04:22:34 +08:00
name 'Treasure Data Toolbelt'
homepage 'https://toolbelt.treasuredata.com/'
license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder
2014-08-15 11:59:07 +08:00
container type: :naked
pkg 'td-toolbelt.pkg'
2014-09-09 20:55:28 +08:00
preflight do
2014-11-21 22:37:56 +08:00
system '/bin/mv', '--', "#{staged_path}/mac", "#{staged_path}/td-toolbelt.pkg"
2014-08-15 11:59:07 +08:00
end
uninstall pkgutil: 'com.td.toolbelt'
zap pkgutil: 'org.ruby-lang.installer'
2014-08-15 11:59:07 +08:00
end