homebrew-core/Formula/rsstail.rb
Larry Gilbert 2d00b39716 rsstail: remove workaround for upstream issue
flok99/rsstail#10 has been accepted and merged.

Closes Homebrew/homebrew#41222.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-01 23:33:35 +01:00

30 lines
934 B
Ruby

class Rsstail < Formula
desc "Monitors an RSS feed and emits new entries when detected"
homepage "http://www.vanheusden.com/rsstail/"
url "http://www.vanheusden.com/rsstail/rsstail-1.8.tgz"
sha256 "19284f3eca4bfa649f53848e19e6ee134bce17ccf2a22919cc8c600684877801"
head "https://github.com/flok99/rsstail.git"
bottle do
cellar :any
sha256 "0d18005ca03757ba45acb78737587eeb9abbe31e5346b0a0738dbc63951a3311" => :yosemite
sha256 "1ec19466e92bbeae9ed3b9e4f9ea9af18eabfd7c8c86e74eda409271028d1b3e" => :mavericks
sha256 "b17a2996711143d24d0a85ecfe26592b4ad9927e2f42e22af7289abe4e5bc4f5" => :mountain_lion
end
depends_on "libmrss"
def install
system "make"
man1.install "rsstail.1"
bin.install "rsstail"
end
test do
actual = shell_output(
"#{bin}/rsstail -1u http://feed.nashownotes.com/rss.xml"
)
assert_match /^Title: NA-\d\d\d-\d\d\d\d-\d\d-\d\d$/, actual
end
end