cask :v1 => 'adobe-dng-converter' do
  version '8.6'
  sha256 '3bb43ca608b7e62727512c813b395ea46aad545f68f9323cc78c9c5f47145650'

  url "http://download.adobe.com/pub/adobe/dng/mac/DNGConverter_#{version.gsub('.', '_')}.dmg"
  name 'Adobe Camera Raw and DNG Converter'
  homepage 'http://www.adobe.com/support/downloads/product.jsp?product=106&platform=Macintosh'
  license :gratis

  pkg 'Adobe DNG Converter.pkg'

  uninstall :pkgutil => 'com.adobe.adobeDngConverter*',
            :quit =>    'com.adobe.DNGConverter'
end

cask :v1 => 'adobe-dng-converter' do
  version '9.0'
  sha256 'db3b25518c0f93af021bdec599c25f55924403b5199c5dfb92e9e47558c614b5'

  url "http://download.adobe.com/pub/adobe/dng/mac/DNGConverter_#{version.gsub('.', '_')}.dmg"
  name 'Adobe Camera Raw and DNG Converter'
  homepage 'http://www.adobe.com/support/downloads/product.jsp?product=106&platform=Macintosh'
  license :gratis

  pkg "DNGConverter_#{version.gsub('.', '_')}.pkg"

  uninstall :delete => '/Applications/Adobe DNG Converter.app',
            :pkgutil => 'com.adobe.adobeDngConverter*',
            :quit =>    'com.adobe.DNGConverter'
end

Upgrade Adobe Camera Raw and DNG Converter to version 9.0
Upgrade Adobe Camera Raw and DNG Converter to version 9.0
