aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCarl Moden2015-01-23 20:02:56 +0100
committerMike McQuaid2015-01-24 10:17:31 +0100
commiteb34409da5a58fead35a8a0439b23cb1e2a3b55b (patch)
tree5453aa858085939c62af331553a142c4ea1c39cc /Library/Formula
parent387ecfc5ae865d9aee123486df6bff555526091e (diff)
downloadhomebrew-eb34409da5a58fead35a8a0439b23cb1e2a3b55b.tar.bz2
winetricks 20150114
Changed upsteram repo from svn to git. Added tests. Closes #36079. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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: