homebrew-core/Formula/winetricks.rb
Dominyk Tiller d77069409b
winetricks 20180815
Closes #31223.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2018-08-17 18:24:03 +01:00

32 lines
841 B
Ruby

class Winetricks < Formula
desc "Download and install various runtime libraries"
homepage "https://github.com/Winetricks/winetricks"
url "https://github.com/Winetricks/winetricks/archive/20180815.tar.gz"
sha256 "6dc22357ea1f857b7283250f7c6a68b9dee97e672bbea9a9c45c573d73634200"
head "https://github.com/Winetricks/winetricks.git"
bottle :unneeded
option "with-zenity", "Zenity is needed for GUI"
depends_on "cabextract"
depends_on "p7zip"
depends_on "unrar"
depends_on "wine" => :optional
depends_on "zenity" => :optional
def install
bin.install "src/winetricks"
man1.install "src/winetricks.1"
end
def caveats; <<~EOS
winetricks is a set of utilities for wine, which is installed separately:
brew install wine
EOS
end
test do
system "#{bin}/winetricks", "--version"
end
end