<commit_before>class GnuChess < Formula
  desc "GNU Chess"
  homepage "https://www.gnu.org/software/chess/"
  url "https://ftp.gnu.org/gnu/chess/gnuchess-6.2.5.tar.gz"
  mirror "https://ftpmirror.gnu.org/chess/gnuchess-6.2.5.tar.gz"
  sha256 "9a99e963355706cab32099d140b698eda9de164ebce40a5420b1b9772dd04802"

  bottle do
    rebuild 1
    sha256 "5000f5a62f1a1db38266d8906bc1e913fb7338cbff343e311db3528526a07be1" => :mojave
    sha256 "c92625455a565c0461225f5621eab5b35975dec37e24f56a474558fbef842424" => :high_sierra
    sha256 "c3be8288c580125622a653cb2092234ee3d07feb01be458ed24ac331612c103a" => :sierra
  end

  head do
    url "https://svn.savannah.gnu.org/svn/chess/trunk"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "help2man" => :build
    depends_on "gettext"
  end

  depends_on "readline"

  resource "book" do
    url "https://ftp.gnu.org/gnu/chess/book_1.02.pgn.gz"
    sha256 "deac77edb061a59249a19deb03da349cae051e52527a6cb5af808d9398d32d44"
  end

  def install
    if build.head?
      system "autoreconf", "--install"
      chmod 0755, "install-sh"
    end

    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"

    resource("book").stage do
      doc.install "book_1.02.pgn"
    end
  end<commit_msg>gnu-chess: update 6.2.5 bottle for Linuxbrew.<commit_after>class GnuChess < Formula
  desc "GNU Chess"
  homepage "https://www.gnu.org/software/chess/"
  url "https://ftp.gnu.org/gnu/chess/gnuchess-6.2.5.tar.gz"
  mirror "https://ftpmirror.gnu.org/chess/gnuchess-6.2.5.tar.gz"
  sha256 "9a99e963355706cab32099d140b698eda9de164ebce40a5420b1b9772dd04802"

  bottle do
    rebuild 1
    sha256 "5000f5a62f1a1db38266d8906bc1e913fb7338cbff343e311db3528526a07be1" => :mojave
    sha256 "c92625455a565c0461225f5621eab5b35975dec37e24f56a474558fbef842424" => :high_sierra
    sha256 "c3be8288c580125622a653cb2092234ee3d07feb01be458ed24ac331612c103a" => :sierra
    sha256 "765cbe9fc737a2be2b1f0010c9bc676bc3a7c1e5bcb1e10f58d31ef66de71bf5" => :x86_64_linux
  end

  head do
    url "https://svn.savannah.gnu.org/svn/chess/trunk"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "help2man" => :build
    depends_on "gettext"
  end

  depends_on "readline"

  resource "book" do
    url "https://ftp.gnu.org/gnu/chess/book_1.02.pgn.gz"
    sha256 "deac77edb061a59249a19deb03da349cae051e52527a6cb5af808d9398d32d44"
  end

  def install
    if build.head?
      system "autoreconf", "--install"
      chmod 0755, "install-sh"
    end

    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"

    resource("book").stage do
      doc.install "book_1.02.pgn"
    end
  end
{'fraction_non_alphanumeric': 0.11501597444089456, 'fraction_numerical': 0.18956336528221512, 'mean_word_length': 3.6348684210526314, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '726373', 'n_tokens_mistral': 1491, 'n_tokens_neox': 1197, 'n_words': 163}