From 4d14e51cee630cacac3ae10b0545e879e1867e2d Mon Sep 17 00:00:00 2001 From: Jordan Bondo Date: Mon, 23 Jan 2017 09:27:41 -0800 Subject: [PATCH] mcabber 1.0.4 Updated mcabber from version 1.0.1 to 1.0.4 Added `test do` block Fixed pkgshare error messages Closes #9205. Signed-off-by: Tomasz Pajor --- Formula/mcabber.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Formula/mcabber.rb b/Formula/mcabber.rb index 91953970c30..bb271d4fce6 100644 --- a/Formula/mcabber.rb +++ b/Formula/mcabber.rb @@ -1,8 +1,8 @@ class Mcabber < Formula desc "Console Jabber client" homepage "https://mcabber.com/" - url "https://lilotux.net/~mikael/mcabber/files/mcabber-1.0.1.tar.bz2" - sha256 "579a45a2bc944455012ca9b308f7f3454efabbe0c36c6723af761aa1f3092d93" + url "https://mcabber.com/files/mcabber-1.0.4.tar.bz2" + sha256 "63b6bc003fcceba4dc4b273ed1c71643c4f8d95e8696543d53f64a7672b1ce0a" bottle do rebuild 1 @@ -50,14 +50,18 @@ class Mcabber < Formula system "./configure", *args system "make", "install" - (share+"mcabber").install %w[mcabberrc.example contrib] + pkgshare.install %w[mcabberrc.example contrib] end def caveats; <<-EOS.undent A configuration file is necessary to start mcabber. The template is here: - #{share}/mcabber/mcabberrc.example + #{pkgshare}/mcabber/mcabberrc.example And there is a Getting Started Guide you will need to setup Mcabber: http://wiki.mcabber.com/index.php/Getting_started EOS end + + test do + system "#{bin}/mcabber", "-V" + end end