homebrew-core/Formula/winetricks.rb

24 lines
610 B
Ruby

class Winetricks < Formula
desc "Automatic workarounds for problems in Wine"
homepage "https://github.com/Winetricks/winetricks"
url "https://github.com/Winetricks/winetricks/archive/20210206.tar.gz"
sha256 "705421798b28696f577104ebdf03b068b9343ab096754150f47a6ec06fa8ae65"
license "LGPL-2.1-or-later"
head "https://github.com/Winetricks/winetricks.git"
bottle :unneeded
depends_on "cabextract"
depends_on "p7zip"
depends_on "unzip"
def install
bin.install "src/winetricks"
man1.install "src/winetricks.1"
end
test do
system "#{bin}/winetricks", "--version"
end
end