Skip to content

Commit

Permalink
wtf: sha256, test do
Browse files Browse the repository at this point in the history
  • Loading branch information
vladshablinsky authored and MikeMcQuaid committed Mar 19, 2015
1 parent 71af2e8 commit 146d919
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/wtf.rb
@@ -1,12 +1,16 @@
class Wtf < Formula
homepage "http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wtf/"
url "https://downloads.sourceforge.net/project/bsdwtf/wtf-20141212.tar.gz"
sha1 "406af25912e948e02e68034415292ca3500e8f02"
sha256 "31ee95558aee74f76d9e531fb2489765eb51c963b7b514cc07f8b407baf7f2a2"

def install
inreplace %w[wtf wtf.6], "/usr/share", share
bin.install "wtf"
man6.install "wtf.6"
(share+"misc").install %w[acronyms acronyms.comp]
end

test do
system bin/"wtf", "needle"
end
end

0 comments on commit 146d919

Please sign in to comment.