homebrew-cask/Casks/chefdk.rb

32 lines
1.2 KiB
Ruby
Raw Normal View History

2014-11-14 01:25:33 +08:00
cask :v1 => 'chefdk' do
2014-11-14 01:59:05 +08:00
version '0.3.4-1'
sha256 'f4647e69df4bb3a4e66a82f24ff8f6ee253904e0655608dc102e215c4409db04'
2014-11-14 02:56:36 +08:00
# amazonaws is the official download host per the vendor homepage
url "https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.8/x86_64/chefdk-#{version}.dmg"
2014-11-14 02:56:11 +08:00
homepage 'https://getchef.com/'
2014-10-03 05:04:05 +08:00
license :apache
pkg "chefdk-#{version}.pkg"
uninstall :pkgutil => 'com.getchef.pkg.chefdk',
2014-09-18 19:57:54 +08:00
:delete => [
'/opt/chefdk/',
'/usr/bin/berks',
'/usr/bin/chef',
'/usr/bin/chef-apply',
'/usr/bin/chef-client',
'/usr/bin/chef-shell',
'/usr/bin/chef-solo',
'/usr/bin/chef-zero',
'/usr/bin/fauxhai',
'/usr/bin/foodcritic',
'/usr/bin/kitchen',
'/usr/bin/knife',
'/usr/bin/ohai',
'/usr/bin/rubocop',
'/usr/bin/shef',
'/usr/bin/strain',
2014-09-18 19:57:54 +08:00
'/usr/bin/strainer',
]
end