From 0139e4ed404daad85cac40e510a6ee48049df801 Mon Sep 17 00:00:00 2001 From: Daniel Lindenfelser Date: Sun, 7 Jun 2015 16:46:37 +0200 Subject: [PATCH] Add Max.app v6.1.7 --- Casks/cycling74-max6.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Casks/cycling74-max6.rb diff --git a/Casks/cycling74-max6.rb b/Casks/cycling74-max6.rb new file mode 100644 index 000000000..c0961f2a0 --- /dev/null +++ b/Casks/cycling74-max6.rb @@ -0,0 +1,16 @@ +cask :v1 => 'cycling74-max6' do + version '6.1.7-140421' + sha256 'deb3070e0161e074c7ee91861e06cfeec2c1dc85eb715e476797d026821c32c9' + + # amazonaws.com is the official download host per the vendor homepage + url "https://akiaj5esl75o5wbdcv2a-maxmspjitter.s3.amazonaws.com/Max#{version.sub('-','_').gsub('.','')}.dmg" + name 'Max' + homepage 'http://cycling74.com' + license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder + tags :vendor => 'Cycling ‘74' + + pkg "Max #{version.sub(%r{^(\d+\.\d+).*},'\1')} Installer.pkg" + + uninstall :pkgutil => 'com.cycling74.Max*', + :delete => '/Applications/Max 6.1' +end