diff --git a/Formula/h/homebank.rb b/Formula/h/homebank.rb index c6e08ddba496..c93585426267 100644 --- a/Formula/h/homebank.rb +++ b/Formula/h/homebank.rb @@ -2,9 +2,9 @@ class Homebank < Formula desc "Manage your personal accounts at home" homepage "http://homebank.free.fr" # A mirror is used as primary URL because the official one is unstable. - url "https://deb.debian.org/debian/pool/main/h/homebank/homebank_5.6.5.orig.tar.gz" - mirror "http://homebank.free.fr/public/sources/homebank-5.6.5.tar.gz" - sha256 "b5494dfcf87d7a8572696a2afa2a04496ba79e3857cd3e3b18ac03bd1b6d2ca8" + url "https://deb.debian.org/debian/pool/main/h/homebank/homebank_5.7.orig.tar.gz" + mirror "http://homebank.free.fr/public/sources/homebank-5.7.tar.gz" + sha256 "c43895cc379e03e2ae2c44a3f75d4b06af21803965b6bc52034e75c54383d91a" license "GPL-2.0-or-later" livecheck do @@ -35,10 +35,15 @@ class Homebank < Formula depends_on "libofx" depends_on "libsoup@2" + uses_from_macos "perl" + + on_linux do + depends_on "perl-xml-parser" => :build + end + def install if OS.linux? - # Needed to find intltool (xml::parser) - ENV.prepend_path "PERL5LIB", Formula["intltool"].libexec/"lib/perl5" + ENV.prepend_path "PERL5LIB", Formula["perl-xml-parser"].libexec/"lib/perl5" ENV["INTLTOOL_PERL"] = Formula["perl"].bin/"perl" end