mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-08 11:53:25 +00:00
ledger: update to 3.3.0 (#15013)
This commit is contained in:
@@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.ledger-cli.org
|
||||
TERMUX_PKG_DESCRIPTION="Powerful, double-entry accounting system"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=3.2.1
|
||||
TERMUX_PKG_REVISION=14
|
||||
TERMUX_PKG_VERSION=3.3.0
|
||||
TERMUX_PKG_SRCURL=https://github.com/ledger/ledger/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=92bf09bc385b171987f456fe3ee9fa998ed5e40b97b3acdd562b663aa364384a
|
||||
TERMUX_PKG_SHA256=42307121666b5195a122857ec572e554b77ecf6b12c53e716756c9dae20dc7c1
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_DEPENDS="boost, libc++, libedit, libmpfr, libgmp, python"
|
||||
TERMUX_PKG_BUILD_DEPENDS="boost-headers, utf8cpp"
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
--- ./src/report.h~ 2020-05-18 07:30:10.000000000 +0200
|
||||
+++ ./src/report.h 2022-10-05 19:35:44.216825319 +0200
|
||||
@@ -813,9 +813,8 @@
|
||||
CTOR(report_t, pager_) {
|
||||
if (! std::getenv("PAGER") && isatty(STDOUT_FILENO)) {
|
||||
bool have_less = false;
|
||||
- if (exists(path("/opt/local/bin/less")) ||
|
||||
- exists(path("/usr/local/bin/less")) ||
|
||||
- exists(path("/usr/bin/less")))
|
||||
+ if (exists(path("@TERMUX_PREFIX@/bin/less")) ||
|
||||
+ exists(path("@TERMUX_PREFIX@/local/bin/less")))
|
||||
have_less = true;
|
||||
diff --git a/src/report.h b/src/report.h
|
||||
index 6c33889c..6722fbf6 100644
|
||||
--- a/src/report.h
|
||||
+++ b/src/report.h
|
||||
@@ -814,9 +814,8 @@ public:
|
||||
if (isatty(STDOUT_FILENO)) {
|
||||
if (! std::getenv("PAGER")) {
|
||||
bool have_less = false;
|
||||
- if (exists(path("/opt/local/bin/less")) ||
|
||||
- exists(path("/usr/local/bin/less")) ||
|
||||
- exists(path("/usr/bin/less")))
|
||||
+ if (exists(path("@TERMUX_PREFIX@/bin/less")) ||
|
||||
+ exists(path("@TERMUX_PREFIX@/local/bin/less")))
|
||||
have_less = true;
|
||||
|
||||
if (have_less) {
|
||||
if (have_less) {
|
||||
|
||||
Reference in New Issue
Block a user