23 lines
1020 B
Ruby
23 lines
1020 B
Ruby
cask :v1 => 'scala-ide' do
|
|
version '4.2.0'
|
|
|
|
if Hardware::CPU.is_32_bit?
|
|
# typesafe.com is the official download host per the vendor homepage
|
|
url "http://downloads.typesafe.com/scalaide-pack/#{version}-vfinal-luna-211-20150928/scala-SDK-#{version}-vfinal-2.11-macosx.cocoa.x86.zip"
|
|
sha256 '3f43fef5ccb7f01b6e539c9270e26799361c006b3bfdba2140a9af8e8eafe197'
|
|
else
|
|
# typesafe.com is the official download host per the vendor homepage
|
|
url "http://downloads.typesafe.com/scalaide-pack/#{version}-vfinal-luna-211-20150928/scala-SDK-#{version}-vfinal-2.11-macosx.cocoa.x86_64.zip"
|
|
sha256 '45f325bd8284b2f9dc3e0f43280d640236d80c634ca3d8137bf6364eb0e71aba'
|
|
end
|
|
|
|
name 'Scala IDE'
|
|
homepage 'http://scala-ide.org/'
|
|
license :bsd
|
|
|
|
# Renamed for clarity: app name is inconsistent with its branding.
|
|
# Also renamed to avoid conflict with other eclipse Casks.
|
|
# Original discussion: https://github.com/caskroom/homebrew-cask/pull/2731
|
|
app 'eclipse/Eclipse.app', :target => 'Scala IDE.app'
|
|
end
|