From 7ff5852a337a183738e387c311e1eebbbb6ae43a Mon Sep 17 00:00:00 2001 From: Faun Date: Tue, 1 Dec 2015 22:31:56 -0800 Subject: [PATCH] Migrate Lightroom 5.7.1 from homebrew-cask --- Casks/adobe-photoshop-lightroom571.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Casks/adobe-photoshop-lightroom571.rb diff --git a/Casks/adobe-photoshop-lightroom571.rb b/Casks/adobe-photoshop-lightroom571.rb new file mode 100644 index 000000000..c9586e922 --- /dev/null +++ b/Casks/adobe-photoshop-lightroom571.rb @@ -0,0 +1,19 @@ +cask :v1 => 'adobe-photoshop-lightroom' do + version '5.7.1' + sha256 '155a91e2c90927a05ccaa244a99fed4784fa7cf26d08c634f5f111629f6b0418' + + url "http://download.adobe.com/pub/adobe/lightroom/mac/#{version.to_i}.x/Lightroom_#{version.to_i}_LS11_mac_#{version.gsub('.','_')}.dmg" + name 'Adobe Photoshop Lightroom' + homepage 'https://www.adobe.com/products/photoshop-lightroom.html' + license :commercial + + pkg "Adobe Photoshop Lightroom #{version.to_i}.pkg" + + uninstall :pkgutil => "com.adobe.Lightroom#{version.to_i}", + :quit => "com.adobe.Lightroom#{version.to_i}", + :delete => "/Applications/Adobe Photoshop Lightroom #{version.to_i}.app" + zap :delete => [ + '~/Library/Application Support/Adobe/Lightroom', + "~/Library/Preferences/com.adobe.Lightroom#{version.to_i}.plist", + ] +end