slacknimate 1.0.1 (new formula)

Closes Homebrew/homebrew#49662.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Matthew Rothenberg 2016-02-29 16:36:43 -05:00 committed by Xu Cheng
parent 46269ce6c6
commit 5f3642ddd5

24
Formula/slacknimate.rb Normal file
View file

@ -0,0 +1,24 @@
class Slacknimate < Formula
desc "text animation for Slack messages"
homepage "https://github.com/mroth/slacknimate"
url "https://github.com/mroth/slacknimate/archive/v1.0.1.tar.gz"
sha256 "ddac6002edd57a334ce828e2662264598ea7d471757747cffd85ffdfedbb044b"
head "https://github.com/mroth/slacknimate.git"
depends_on "go" => :build
def install
ENV["GOPATH"] = buildpath
pkgpath = buildpath/"src/github.com/mroth"
pkgpath.install Dir["*"]
cd pkgpath do
system "make"
bin.install "bin/slacknimate"
end
end
test do
system "#{bin}/slacknimate", "--version"
system "#{bin}/slacknimate", "--help"
end
end