winetricks 20150114
Changed upsteram repo from svn to git. Added tests. Closes Homebrew/homebrew#36079. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
e312c8e462
commit
0fc5e52db3
1 changed files with 18 additions and 9 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue