homebrew-cask/Casks/vimr.rb

24 lines
821 B
Ruby

cask 'vimr' do
version '0.27.5-327'
sha256 '2993a2bfc997574d837ccab384b69af321717a8da6dffed52c437ae060914813'
# github.com/qvacua/vimr was verified as official when first introduced to the cask
url "https://github.com/qvacua/vimr/releases/download/v#{version.hyphens_to_dots}/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: '>= :high_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