homebrew-core/Formula/winetricks.rb
ilovezfs de4701b138 winetricks 20161228
Closes #8325.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-12-31 11:03:30 +01:00

32 lines
845 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/20161228.tar.gz"
sha256 "2c5cea89a09006e5f1f846a431020af5142f82227f6285a72258ee9fef7ac610"
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"
depends_on "zenity" => [:optional, :run]
def install
bin.install "src/winetricks"
man1.install "src/winetricks.1"
end
def caveats; <<-EOS.undent
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