Created
March 23, 2017 07:46
-
-
Save lifepillar/5540d93b197308b0b8820ce746b1415a to your computer and use it in GitHub Desktop.
Homebrew Cask formula for MacVim (up to date as of snapshot-129)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask 'macvim' do | |
version '8.0.129' | |
sha256 'a75d4999986f65b12b5adecde9dbdcf30ae04a19545a65b0131783c547897cf2' | |
url "https://github.com/macvim-dev/macvim/releases/download/snapshot-#{version.patch}/MacVim.dmg" | |
appcast 'https://github.com/macvim-dev/macvim/releases.atom', | |
checkpoint: 'b94f207852bed3a9ece4d15be8163ed9a9b6abd18a751e0ae02123f42bb8b8c2' | |
name 'MacVim' | |
homepage 'https://github.com/macvim-dev/macvim' | |
conflicts_with formula: 'macvim' | |
depends_on macos: '>= :mountain_lion' | |
app 'MacVim.app' | |
%w[ | |
gview | |
gvim | |
gvimdiff | |
mview | |
mvim | |
mvimdiff | |
].each do |link_name| | |
binary "#{appdir}/MacVim.app/Contents/bin/mvim", target: link_name | |
end | |
zap delete: [ | |
'~/Library/Caches/org.vim.MacVim', | |
'~/Library/Preferences/org.vim.MacVim.LSSharedFileList.plist', | |
'~/Library/Preferences/org.vim.MacVim.plist', | |
] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment