require 'formula' class Tkdiff < Formula homepage 'http://tkdiff.sourceforge.net/' url 'https://downloads.sourceforge.net/project/tkdiff/tkdiff/4.2/tkdiff-4.2.tar.gz' sha1 '64b07e3aca75bcfa73f43773716bdac88769f685' def install bin.install 'tkdiff' end test do system "#{bin}/tkdiff", "--help" end end