From c8a9e401954df7cbc54001b9bd062f3f8e1b6beb Mon Sep 17 00:00:00 2001 From: Alexandre Espinosa Menor Date: Sat, 7 Mar 2015 11:23:01 +0100 Subject: [PATCH] Added portuguese (pt_BR) Adobe Reader license to gratis, added name and vendor tags --- Casks/adobe-reader-pt.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Casks/adobe-reader-pt.rb diff --git a/Casks/adobe-reader-pt.rb b/Casks/adobe-reader-pt.rb new file mode 100644 index 000000000..820f69e17 --- /dev/null +++ b/Casks/adobe-reader-pt.rb @@ -0,0 +1,18 @@ +cask :v1 => 'adobe-reader-pt' do + version '11.0.00' + sha256 '432b83f2d895c42c496226214e5b700e1ee078bc03b4501500b9a783d63e4dad' + + url "http://ardownload.adobe.com/pub/adobe/reader/mac/#{version.to_i}.x/#{version}/pt_BR/AdbeRdr#{version.gsub('.', '')}_pt_BR.dmg" + name 'Adobe Reader' + homepage 'http://www.adobe.com/br/products/reader.html' + license :gratis + tags :vendor => 'Adobe' + + pkg 'Adobe Reader XI Installer.pkg' + uninstall :pkgutil => "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", + :delete => '/Applications/Adobe Reader.app' + zap :delete => [ + "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+)\.*},'\1.\2')}", + '~/Library/Preferences/com.adobe.Reader.plist', + ] +end