aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/winetricks.rb27
1 files changed, 18 insertions, 9 deletions
diff --git a/Library/Formula/winetricks.rb b/Library/Formula/winetricks.rb
index c44938982..0edc3e546 100644
--- a/Library/Formula/winetricks.rb
+++ b/Library/Formula/winetricks.rb
@@ -1,15 +1,24 @@
-require 'formula'
+class Winetricks < Formula
+ homepage "https://code.google.com/p/winetricks/"
+ url "https://code.google.com/p/winetricks.git", :revision => "fa9e42955dbdf780240dedf9057295264fddd98f"
+ version "20150114"
+ sha1 "fa9e42955dbdf780240dedf9057295264fddd98f"
-class Winetricks < ScriptFileFormula
- homepage 'http://code.google.com/p/winetricks/'
- url 'http://winetricks.googlecode.com/svn-history/r1217/trunk/src/winetricks', :using => :curl
- # since the version stated in the field is seldom updated, we append the revision number
- version '20141125-r1217'
- sha256 'b2317fbac4282412cc7f6d8f1d387da73dac6d4f5580a8ef8d8f2a2ae8df34b8'
+ head "https://code.google.com/p/winetricks.git"
- head 'http://winetricks.googlecode.com/svn/trunk/src/winetricks', :using => :curl
+ depends_on "cabextract"
+ depends_on "p7zip"
+ depends_on "unrar"
+ depends_on "wine"
- depends_on 'cabextract'
+ 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: