homebrew-cask-versions/Casks/craftstudio.rb
2014-12-05 10:32:48 -05:00

21 lines
655 B
Ruby

cask :v1 => 'craftstudio' do
version :latest
sha256 :no_check
url 'http://craftstud.io/files/OSX/CraftStudio.pkg'
homepage 'http://craftstud.io'
license :unknown
pkg 'CraftStudio.pkg'
uninstall :quit => 'com.sparklinlabs.CraftStudioLauncher',
:pkgutil => 'com.sparklinlabs.CraftStudioLauncher'
zap :delete => '~/Library/CraftStudio'
# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires mono-mre, available via
brew cask install mono-mre
EOS
end