2015-12-18 09:15:28 +08:00
|
|
|
cask 'libreoffice' do
|
2015-03-08 10:08:37 +08:00
|
|
|
if Hardware::CPU.is_32_bit? || MacOS.release < :mountain_lion
|
2015-05-13 22:50:49 +08:00
|
|
|
version '4.3.7'
|
|
|
|
sha256 '2964a952ab633426df402de2f128cf788354ac622b7c30b25209d185d17617ec'
|
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-12-20 15:43:21 +08:00
|
|
|
version '5.0.4'
|
|
|
|
sha256 '36d3a99dde9fd5bb845f93a24c091a36c97ff1adedf878ed2188704f3dfeb2ae'
|
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
|
2015-04-09 02:29:48 +08:00
|
|
|
name 'LibreOffice'
|
2014-10-07 22:47:21 +08:00
|
|
|
homepage 'https://www.libreoffice.org/'
|
2015-03-02 10:18:04 +08:00
|
|
|
license :mpl
|
2016-01-04 03:18:46 +08:00
|
|
|
gpg "#{url}.asc",
|
|
|
|
:key_id => 'c2839ecad9408fbe9531c3e9f434a1efafeeaea3'
|
2014-10-07 22:47:21 +08:00
|
|
|
|
2014-09-16 00:05:50 +08:00
|
|
|
app 'LibreOffice.app'
|
2015-12-29 02:58:20 +08:00
|
|
|
binary 'LibreOffice.app/Contents/MacOS/gengal'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/regmerge'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/regview'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/senddoc'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/soffice'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/ui-previewer'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/uno'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/unoinfo'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/unopkg'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/urelibs'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/uri-encode'
|
|
|
|
binary 'LibreOffice.app/Contents/MacOS/xpdfimport'
|
2012-10-19 10:08:28 +08:00
|
|
|
end
|