homebrew-cask/Casks/vimr.rb

24 lines
800 B
Ruby

cask 'vimr' do
version '0.26.9-312'
sha256 '04e76ddc730606ff66c4254ba3f8216d8bfd144cd8dbec706fea25f8e9e11c82'
# github.com/qvacua/vimr was verified as official when first introduced to the cask
url "https://github.com/qvacua/vimr/releases/download/v#{version}/VimR-v#{version}.tar.bz2"
appcast 'https://github.com/qvacua/vimr/releases.atom'
name 'VimR'
homepage 'http://vimr.org/'
auto_updates true
depends_on macos: '>= :sierra'
app 'VimR.app'
binary "#{appdir}/VimR.app/Contents/Resources/vimr"
zap trash: [
'~/Library/Caches/com.qvacua.VimR',
'~/Library/Preferences/com.qvacua.VimR.plist',
'~/Library/Saved Application State/com.qvacua.VimR.savedState',
'~/Library/WebKit/com.qvacua.VimR',
]
end