From 47de92566b0a4ad351ed43172794d469ede01691 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 26 Jun 2019 06:36:37 +0800 Subject: [PATCH] newsboat 2.16.1 Closes #41340. Signed-off-by: Thierry Moisan --- Formula/newsboat.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Formula/newsboat.rb b/Formula/newsboat.rb index 773f550e7c..3cf7838828 100644 --- a/Formula/newsboat.rb +++ b/Formula/newsboat.rb @@ -1,9 +1,8 @@ class Newsboat < Formula desc "RSS/Atom feed reader for text terminals" homepage "https://newsboat.org/" - url "https://newsboat.org/releases/2.15/newsboat-2.15.tar.xz" - sha256 "da68ce93c02dda908a471ef8994bb3c668f060eb6046d486c3f05649c6650db7" - revision 1 + url "https://newsboat.org/releases/2.16.1/newsboat-2.16.1.tar.xz" + sha256 "4023c817b36fc08a3191283eec2c7161949c0727633f60ad837e11c599d3ad53" head "https://github.com/newsboat/newsboat.git" bottle do @@ -21,7 +20,13 @@ class Newsboat < Formula depends_on "libstfl" def install + gettext = Formula["gettext"] + + ENV["GETTEXT_BIN_DIR"] = gettext.opt_bin.to_s + ENV["GETTEXT_LIB_DIR"] = gettext.lib.to_s + ENV["GETTEXT_INCLUDE_DIR"] = gettext.include.to_s ENV["XML_CATALOG_FILES"] = etc/"xml/catalog" + system "make", "install", "prefix=#{prefix}" end