2017-01-12 13:53:30 +08:00
|
|
|
cask 'rar' do
|
2018-10-02 04:26:58 +08:00
|
|
|
version '5.6.1'
|
|
|
|
sha256 'ea7baed80976b68dfe178dec662505251dd2d5efe11d92d3b13b0929d4066af2'
|
2017-01-12 13:53:30 +08:00
|
|
|
|
2018-06-28 03:32:11 +08:00
|
|
|
url "https://www.rarlab.com/rar/rarosx-#{version}.tar.gz"
|
2017-01-12 13:53:30 +08:00
|
|
|
name 'RAR Archiver'
|
2018-06-28 03:32:11 +08:00
|
|
|
homepage 'https://www.rarlab.com/'
|
2017-01-12 13:53:30 +08:00
|
|
|
|
|
|
|
binary 'rar/rar'
|
|
|
|
binary 'rar/unrar'
|
2017-09-06 00:56:03 +08:00
|
|
|
artifact 'rar/default.sfx', target: "#{HOMEBREW_PREFIX}/lib/default.sfx"
|
|
|
|
artifact 'rar/rarfiles.lst', target: "#{HOMEBREW_PREFIX}/etc/rarfiles.lst"
|
2017-01-12 13:53:30 +08:00
|
|
|
|
2017-10-22 23:36:29 +08:00
|
|
|
caveats <<~EOS
|
2017-01-12 13:53:30 +08:00
|
|
|
Instructions on using rar and unrar are available in
|
|
|
|
|
|
|
|
#{staged_path}/rar/rar.txt
|
|
|
|
EOS
|
|
|
|
end
|