homebrew-core/Formula/imessage-ruby.rb
2015-08-11 17:57:56 +01:00

23 lines
695 B
Ruby

class ImessageRuby < Formula
desc "Command-line tool to send iMessage"
homepage "https://github.com/linjunpop/imessage"
url "https://github.com/linjunpop/imessage/archive/v0.2.0.tar.gz"
sha256 "5d67df55a53d0fa657ea439c240a3b322dd0b83a102fa881915569f44431eb00"
head "https://github.com/linjunpop/imessage.git"
bottle do
cellar :any
sha256 "ea733fabe5eb0fa1800ec04070586edd6f77de13b22f48064de08d8e8c1b4bd0" => :yosemite
sha256 "b88419c5ee493a9d96bde86a81ec88866315f41ab91f19eef0402eeab5491d08" => :mavericks
end
depends_on :macos => :mavericks
def install
rake "install", "prefix=#{prefix}"
end
test do
system "#{bin}/imessage", "--version"
end
end