homebrew-cask/Casks/vagrant.rb

27 lines
628 B
Ruby

cask "vagrant" do
version "2.2.19"
sha256 "6307be217813a11c9e106448bf232803031e434a08c8b2df8c62fdc9e8543845"
url "https://releases.hashicorp.com/vagrant/#{version}/vagrant_#{version}_x86_64.dmg",
verified: "hashicorp.com/vagrant/"
name "Vagrant"
desc "Development environment"
homepage "https://www.vagrantup.com/"
livecheck do
url "https://github.com/hashicorp/vagrant"
strategy :git
end
pkg "vagrant.pkg"
uninstall script: {
executable: "uninstall.tool",
input: ["Yes"],
sudo: true,
},
pkgutil: "com.vagrant.vagrant"
zap trash: "~/.vagrant.d"
end