Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

homebank 5.7 #150244

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions Formula/h/homebank.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
Loading