2014-11-14 01:26:15 +08:00
|
|
|
cask :v1 => 'libreoffice' do
|
2015-03-08 10:08:37 +08:00
|
|
|
if Hardware::CPU.is_32_bit? || MacOS.release < :mountain_lion
|
2015-01-30 18:24:00 +08:00
|
|
|
version '4.3.5'
|
2014-12-21 19:58:47 +08:00
|
|
|
sha256 '0121e87396a880884a6fac02e7799fe5bc4cbfe0e346a60aa21176acbd44602f'
|
2015-01-18 08:49:58 +08:00
|
|
|
# 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"
|
2014-08-09 22:03:15 +08:00
|
|
|
else
|
2015-03-02 10:18:04 +08:00
|
|
|
version '4.4.1'
|
|
|
|
sha256 '0bb9e740ea0bcb40402c64ee0b8c37c35fdf56997e2bf7d926b8a58640af07ab'
|
2015-01-18 08:49:58 +08:00
|
|
|
# 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"
|
2014-05-12 21:41:51 +08:00
|
|
|
end
|
2014-09-15 03:40:59 +08:00
|
|
|
gpg "#{url}.asc",
|
|
|
|
:key_id => 'c2839ecad9408fbe9531c3e9f434a1efafeeaea3'
|
2014-05-12 21:41:51 +08:00
|
|
|
|
2014-10-07 22:47:21 +08:00
|
|
|
homepage 'https://www.libreoffice.org/'
|
2015-03-02 10:18:04 +08:00
|
|
|
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
|