cask :v1 => 'nndd' do
  version '2.4.3'
  sha256 '6a73dcad2e73d877ad1503ed1162cae1a1c84f21d1abaa6aaf9b31bb2fbca531'

  url 'http://dl.sourceforge.jp/nndd/62201/NNDD_v2_4_3.dmg'
  name 'NNDD'
  homepage 'http://sourceforge.jp/projects/nndd/'
  license :x11

  preflight do
    system_command staged_path.join('Install NNDD.app/Contents/MacOS/Install NNDD'),
      :args => ['-silent', '-eulaAccepted', '-location', staged_path]
  end
  app 'NNDD.app'

  depends_on :cask => 'adobe-air'
end

cask :v1 => 'nndd' do
  version '2.4.3'
  sha256 '6a73dcad2e73d877ad1503ed1162cae1a1c84f21d1abaa6aaf9b31bb2fbca531'

  url 'http://dl.osdn.jp/nndd/62201/NNDD_v2_4_3.dmg'
  name 'NNDD'
  homepage 'http://osdn.jp/projects/nndd/'
  license :x11

  preflight do
    system_command staged_path.join('Install NNDD.app/Contents/MacOS/Install NNDD'),
      :args => ['-silent', '-eulaAccepted', '-location', staged_path]
  end
  app 'NNDD.app'

  depends_on :cask => 'adobe-air'
end

Change hosting service name in NNDD.app Cask
Change hosting service name in NNDD.app Cask
