homebrew-cask/Casks/libreoffice.rb

21 lines
891 B
Ruby
Raw Normal View History

2014-11-14 01:26:15 +08:00
cask :v1 => 'libreoffice' do
if Hardware::CPU.is_32_bit? || MacOS.release < :mountain_lion
version '4.3.6'
sha256 '02b78ed4e58090af93782fa6986493c115e92eae9bbc878c26cbd12633735445'
# documentfoundation.org is the official download host per the vendor homepage
2014-10-07 22:47:21 +08:00
url "https://download.documentfoundation.org/libreoffice/stable/#{version}/mac/x86/LibreOffice_#{version}_MacOS_x86.dmg"
else
2015-04-03 12:58:21 +08:00
version '4.4.2'
sha256 '12e7605f0028365bc2c430fddbd6e1a9b2b372aec46251cac655f6774c7a6766'
# documentfoundation.org is the official download host per the vendor homepage
2014-10-07 22:47:21 +08:00
url "https://download.documentfoundation.org/libreoffice/stable/#{version}/mac/x86_64/LibreOffice_#{version}_MacOS_x86-64.dmg"
end
2014-09-15 03:40:59 +08:00
gpg "#{url}.asc",
:key_id => 'c2839ecad9408fbe9531c3e9f434a1efafeeaea3'
2014-10-07 22:47:21 +08:00
homepage 'https://www.libreoffice.org/'
license :mpl
2014-10-07 22:47:21 +08:00
2014-09-16 00:05:50 +08:00
app 'LibreOffice.app'
2012-10-19 10:08:28 +08:00
end