2013-11-10 06:51:19 +08:00
|
|
|
class Libreoffice < Cask
|
2014-06-28 19:41:49 +08:00
|
|
|
homepage 'https://www.libreoffice.org/'
|
|
|
|
version '4.2.5'
|
|
|
|
|
2014-05-12 21:41:51 +08:00
|
|
|
if Hardware::CPU.is_64_bit? && OS::Mac.version >= '10.8'
|
2014-06-28 19:41:49 +08:00
|
|
|
url "https://download.documentfoundation.org/libreoffice/stable/#{version}/mac/x86_64/LibreOffice_#{version}_MacOS_x86-64.dmg"
|
|
|
|
sha256 '6a8f810d4166c2a54e3dcc9c47f6b7a1e88302c1b8ad231723e24a741b0b0480'
|
2014-05-12 21:41:51 +08:00
|
|
|
else
|
2014-06-28 19:41:49 +08:00
|
|
|
url "https://download.documentfoundation.org/libreoffice/stable/#{version}/mac/x86/LibreOffice_#{version}_MacOS_x86.dmg"
|
|
|
|
sha256 '27379af27aee1edaa76ab3cc13140c91fdf1b686c59f5bd9b7385ca0bfcbf4a6'
|
2014-05-12 21:41:51 +08:00
|
|
|
end
|
|
|
|
|
2013-06-01 07:51:31 +08:00
|
|
|
link 'LibreOffice.app'
|
2012-10-19 10:08:28 +08:00
|
|
|
end
|