31 lines
862 B
Ruby
31 lines
862 B
Ruby
cask 'macvim' do
|
|
version '8.1.153'
|
|
sha256 'e45f0b57c8333d5938d3e67ac58887598d8e387eb953ea4321e216b08e91dfc4'
|
|
|
|
url "https://github.com/macvim-dev/macvim/releases/download/snapshot-#{version.patch}/MacVim.dmg"
|
|
appcast 'https://github.com/macvim-dev/macvim/releases.atom'
|
|
name 'MacVim'
|
|
homepage 'https://github.com/macvim-dev/macvim'
|
|
|
|
auto_updates true
|
|
conflicts_with formula: 'macvim'
|
|
depends_on macos: '>= :mountain_lion'
|
|
|
|
app 'MacVim.app'
|
|
|
|
[
|
|
'gview',
|
|
'gvim',
|
|
'gvimdiff',
|
|
'mview',
|
|
'mvim',
|
|
'mvimdiff',
|
|
].each { |link_name| binary "#{appdir}/MacVim.app/Contents/bin/mvim", target: link_name }
|
|
|
|
zap trash: [
|
|
'~/Library/Caches/org.vim.MacVim',
|
|
'~/Library/Preferences/org.vim.MacVim.LSSharedFileList.plist',
|
|
'~/Library/Preferences/org.vim.MacVim.plist',
|
|
]
|
|
end
|