From e12ebc431324abd703182427bf062d10dddd5838 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Thu, 1 Nov 2018 22:41:03 +0100 Subject: [PATCH] gnu-chess: remove options --- Formula/gnu-chess.rb | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/Formula/gnu-chess.rb b/Formula/gnu-chess.rb index 897e63b83b..62b9c5bab5 100644 --- a/Formula/gnu-chess.rb +++ b/Formula/gnu-chess.rb @@ -21,8 +21,6 @@ class GnuChess < Formula depends_on "gettext" end - option "with-book", "Download the opening book (~25MB)" - depends_on "readline" resource "book" do @@ -40,20 +38,16 @@ class GnuChess < Formula "--prefix=#{prefix}" system "make", "install" - if build.with? "book" - resource("book").stage do - doc.install "book_1.02.pgn" - end + resource("book").stage do + doc.install "book_1.02.pgn" end end - if build.with? "book" - def caveats; <<~EOS - This formula also downloads the additional opening book. The - opening book is a PGN file located in #{doc} that can be added - using gnuchess commands. - EOS - end + def caveats; <<~EOS + This formula also downloads the additional opening book. The + opening book is a PGN file located in #{doc} that can be added + using gnuchess commands. + EOS end test do