kpcli 3.7
* kpcli 3.7 * kpcli: update resources * kpcli: match capitalization of Term::ReadLine::Gnu * kpcli: remove inreplace Closes #101944. Co-authored-by: Branch Vincent <branchevincent@gmail.com> Co-authored-by: Michael Cho <cho-m@tuta.io> Signed-off-by: Dawid Dziurla <dawidd0811@gmail.com> Signed-off-by: Michka Popoff <3406519+iMichka@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
a7434e4129
commit
37e0689572
|
@ -5,10 +5,9 @@ class Kpcli < Formula
|
||||||
|
|
||||||
desc "Command-line interface to KeePass database files"
|
desc "Command-line interface to KeePass database files"
|
||||||
homepage "https://kpcli.sourceforge.io/"
|
homepage "https://kpcli.sourceforge.io/"
|
||||||
url "https://downloads.sourceforge.net/project/kpcli/kpcli-3.6.pl"
|
url "https://downloads.sourceforge.net/project/kpcli/kpcli-3.7.pl"
|
||||||
sha256 "01f23882d458dfffc176fe5f268ced13c667de22b7fbf60d488eca87f3362deb"
|
sha256 "8c12566c292650451590ba42aba48f117eb60d786aed4309cca19febd4d2d673"
|
||||||
license any_of: ["Artistic-1.0-Perl", "GPL-1.0-or-later"]
|
license any_of: ["Artistic-1.0-Perl", "GPL-1.0-or-later"]
|
||||||
revision 2
|
|
||||||
|
|
||||||
livecheck do
|
livecheck do
|
||||||
url :stable
|
url :stable
|
||||||
|
@ -31,8 +30,8 @@ class Kpcli < Formula
|
||||||
|
|
||||||
on_macos do
|
on_macos do
|
||||||
resource "Mac::Pasteboard" do
|
resource "Mac::Pasteboard" do
|
||||||
url "https://cpan.metacpan.org/authors/id/W/WY/WYANT/Mac-Pasteboard-0.011.tar.gz"
|
url "https://cpan.metacpan.org/authors/id/W/WY/WYANT/Mac-Pasteboard-0.103.tar.gz"
|
||||||
sha256 "bd8c4510b1e805c43e4b55155c0beaf002b649fe30b6a7841ff05e7399ba02a9"
|
sha256 "2f5e8dd2db0d6445558484ca6d42d839c5a97ee8aa1b250e694d67d5b7f6634c"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -59,8 +58,8 @@ class Kpcli < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "Crypt::Rijndael" do
|
resource "Crypt::Rijndael" do
|
||||||
url "https://cpan.metacpan.org/authors/id/L/LE/LEONT/Crypt-Rijndael-1.15.tar.gz"
|
url "https://cpan.metacpan.org/authors/id/L/LE/LEONT/Crypt-Rijndael-1.16.tar.gz"
|
||||||
sha256 "a0989b55990d7905d1b5bf524cd8b46aadc0de778414d4ca8d406aa2aa594163"
|
sha256 "6540085e3804b82a6f0752c1122cf78cadd221990136dd6fd4c097d056c84d40"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "Sort::Naturally" do
|
resource "Sort::Naturally" do
|
||||||
|
@ -73,9 +72,9 @@ class Kpcli < Formula
|
||||||
sha256 "3279c01c76227335eeff09032a40f4b02b285151b3576c04cacd15be05942bdb"
|
sha256 "3279c01c76227335eeff09032a40f4b02b285151b3576c04cacd15be05942bdb"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "Term::Readline::Gnu" do
|
resource "Term::ReadLine::Gnu" do
|
||||||
url "https://cpan.metacpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.37.tar.gz"
|
url "https://cpan.metacpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.42.tar.gz"
|
||||||
sha256 "3bd31a998a9c14748ee553aed3e6b888ec47ff57c07fc5beafb04a38a72f0078"
|
sha256 "3c5f1281da2666777af0f34de0289564e6faa823aea54f3945c74c98e95a5e73"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "Data::Password" do
|
resource "Data::Password" do
|
||||||
|
@ -84,8 +83,8 @@ class Kpcli < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "Clipboard" do
|
resource "Clipboard" do
|
||||||
url "https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Clipboard-0.26.tar.gz"
|
url "https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Clipboard-0.28.tar.gz"
|
||||||
sha256 "886ae43dc8538f9bfc4e07fdbcf09b7fbd6ee59c31f364618c859de14953c58a"
|
sha256 "9e8d79015194263357c25a0f5d094800fff43bdbf9f8601ec3b0ed5eb0966d26"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "Capture::Tiny" do
|
resource "Capture::Tiny" do
|
||||||
|
@ -111,14 +110,10 @@ class Kpcli < Formula
|
||||||
system "./Build", "install"
|
system "./Build", "install"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource("Term::Readline::Gnu").stage do
|
resource("Term::ReadLine::Gnu").stage do
|
||||||
# Prevent the Makefile to try and build universal binaries
|
# Prevent the Makefile to try and build universal binaries
|
||||||
ENV.refurbish_args
|
ENV.refurbish_args
|
||||||
|
|
||||||
# Work around issue with Makefile.PL not detecting -ltermcap
|
|
||||||
# https://rt.cpan.org/Public/Bug/Display.html?id=133846
|
|
||||||
inreplace "Makefile.PL", "my $TERMCAP_LIB =", "my $TERMCAP_LIB = '-lncurses'; 0 &&"
|
|
||||||
|
|
||||||
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}",
|
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}",
|
||||||
"--includedir=#{Formula["readline"].opt_include}",
|
"--includedir=#{Formula["readline"].opt_include}",
|
||||||
"--libdir=#{Formula["readline"].opt_lib}"
|
"--libdir=#{Formula["readline"].opt_lib}"
|
||||||
|
@ -129,7 +124,7 @@ class Kpcli < Formula
|
||||||
|
|
||||||
libexec.install "kpcli-#{version}.pl" => "kpcli"
|
libexec.install "kpcli-#{version}.pl" => "kpcli"
|
||||||
chmod 0755, libexec/"kpcli"
|
chmod 0755, libexec/"kpcli"
|
||||||
(bin/"kpcli").write_env_script("#{libexec}/kpcli", PERL5LIB: ENV["PERL5LIB"])
|
(bin/"kpcli").write_env_script(libexec/"kpcli", PERL5LIB: ENV["PERL5LIB"])
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|
Loading…
Reference in New Issue