homebrew-core/Formula/winetricks.rb
Carl Moden 0fc5e52db3 winetricks 20150114
Changed upsteram repo from svn to git.
Added tests.

Closes Homebrew/homebrew#36079.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-24 10:17:31 +01:00

28 lines
700 B
Ruby

class Winetricks < Formula
homepage "https://code.google.com/p/winetricks/"
url "https://code.google.com/p/winetricks.git", :revision => "fa9e42955dbdf780240dedf9057295264fddd98f"
version "20150114"
sha1 "fa9e42955dbdf780240dedf9057295264fddd98f"
head "https://code.google.com/p/winetricks.git"
depends_on "cabextract"
depends_on "p7zip"
depends_on "unrar"
depends_on "wine"
def install
bin.install "src/winetricks"
man1.install "src/winetricks.1"
end
test do
system "#{bin}/winetricks", "dlls", "list"
end
def caveats; <<-EOS.undent
winetricks is a set of utilities for wine, which is installed separately:
brew install wine
EOS
end
end