homebrew-core/Formula/cliweather.rb

16 lines
340 B
Ruby
Raw Normal View History

require 'formula'
class Cliweather < Formula
url 'http://pub.lambda.ath.cx/patrick/cliweather/static/downloads/cliweather-2011.05.05.tar.gz'
homepage 'http://closure.ath.cx/cliweather'
md5 'faf9f16e86e48906708b07f381cedebc'
def install
bin.install "cliweather"
end
def test
system "#{bin}/cliweather 98027"
end
end