aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-03-22 00:22:59 +0100
committerMike McQuaid2015-03-22 14:51:05 +0000
commitea02742534504b7aba97a9da01cdd9e48fd622c8 (patch)
tree364778b82b242066aa6800d5729c3413ea3c6f85 /Library
parentb7984251780d641c4dfc50a60a5fd85c823a877b (diff)
downloadhomebrew-ea02742534504b7aba97a9da01cdd9e48fd622c8.tar.bz2
xtitle 1.0.4
Closes #37950. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/xtitle.rb13
1 files changed, 8 insertions, 5 deletions
diff --git a/Library/Formula/xtitle.rb b/Library/Formula/xtitle.rb
index 6d61db24a..7d0e55081 100644
--- a/Library/Formula/xtitle.rb
+++ b/Library/Formula/xtitle.rb
@@ -1,12 +1,15 @@
-require 'formula'
-
class Xtitle < Formula
- homepage 'http://www.cs.indiana.edu/~kinzler/xtitle/'
- url 'http://www.cs.indiana.edu/~kinzler/xtitle/xtitle-1.0.2.tgz'
- sha1 '0322cf93316a066bcba098b250821bcadaaedc02'
+ homepage "http://www.cs.indiana.edu/~kinzler/xtitle/"
+ url "http://www.cs.indiana.edu/~kinzler/xtitle/xtitle-1.0.4.tgz"
+ sha256 "cadddef1389ba1c5e1dc7dd861545a5fe11cb397a3f692cd63881671340fcc15"
def install
bin.install "xtitle.sh" => "xtitle"
+ bin.install "xtctl.sh" => "xtctl"
man1.install "xtitle.man" => "xtitle.1"
end
+
+ test do
+ assert_equal "#{version}", shell_output("#{bin}/xtitle -V").chomp
+ end
end