diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rpg.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/rpg.rb b/Library/Formula/rpg.rb index b76b1a6f7..46961780a 100644 --- a/Library/Formula/rpg.rb +++ b/Library/Formula/rpg.rb @@ -1,15 +1,17 @@ -require 'formula' - class Rpg < Formula - homepage 'https://github.com/rtomayko/rpg' - url 'https://github.com/downloads/rtomayko/rpg/rpg-0.3.0.tar.gz' - sha1 'acad232da1a560bdc0788bcfa203afcc58f0d7dc' + homepage "https://github.com/rtomayko/rpg" + url "https://github.com/downloads/rtomayko/rpg/rpg-0.3.0.tar.gz" + sha256 "c350f64744fb602956a91a57c8920e69058ea42e4e36b0e74368e96954d9d0c7" - head 'https://github.com/rtomayko/rpg.git' + head "https://github.com/rtomayko/rpg.git" def install system "./configure", "--prefix=#{prefix}" system "make" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/rpg", "config" end end |
