You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
863 B

cask :v1 => 'adobe-reader-pl' do
version '11.0.00'
sha256 'cfeeef917cec3175ab7673c9afd9df081794d952c5e919e29a962df21e041b37'
url "http://ardownload.adobe.com/pub/adobe/reader/mac/#{version.to_i}.x/#{version}/pl_PL/AdbeRdr#{version.gsub('.', '')}_pl_PL.dmg"
name 'Adobe Reader'
homepage 'http://www.adobe.com/pl/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',
'~/Library/Caches/com.adobe.Reader'
]
end