diff options
Diffstat (limited to 'Formula/ack.rb')
| -rw-r--r-- | Formula/ack.rb | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/Formula/ack.rb b/Formula/ack.rb index b27d827ac..4bab09c89 100644 --- a/Formula/ack.rb +++ b/Formula/ack.rb @@ -1,22 +1,10 @@ -$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks require 'brewkit' -require 'fileutils' -homepage='http://betterthangrep.com/' - -class AckFormula < UncompressedScriptFormula +class Ack <UncompressedScriptFormula def initialize - super('http://ack.googlecode.com/svn/tags/1.88/ack') @version='1.88' + @url="http://ack.googlecode.com/svn/tags/#{@version}/ack" @md5='8009a13ab0fc66047bea0ea2ad89419c' + @homepage='http://betterthangrep.com/' end -end - -ack=AckFormula.new -ack.brew do |prefix| - bin=prefix+'bin' - bin.mkpath - FileUtils.cp ack.name, bin - (bin+ack.name).chmod 0544 - nil end
\ No newline at end of file |
