From ac396d2b4f1a1ea686c77eaf885f70c692f76cf1 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sat, 20 Jun 2026 15:04:12 +0800 Subject: fixes --- apkg | 18 ++++++++++++++---- man/apkg.8 | 6 ------ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/apkg b/apkg index e7d7f93..1ab6b7e 100755 --- a/apkg +++ b/apkg @@ -891,11 +891,21 @@ options: -S search files -v be verbose -h print this help message - + environment variables: - APKG_ROOT override default root (${APKG_ROOT:-/}) location - APKG_NOPROMPT set the variable for non-interactive use - + APKG_REPO space-separated repo directories (required for pkg resolution) + APKG_PACKAGE_DIR directory for built .spm files (default: \$PWD) + APKG_SOURCE_DIR directory for source tarballs (default: \$PWD) + APKG_WORK_DIR directory for build working tree (default: \$PWD) + APKG_ROOT alternative install root (default: /) + APKG_NOPROMPT skip confirmation prompt (for scripting) + APKG_KEEP_WORKDIR keep work directory on build failure + APKG_ALIAS dependency substitution (real:alias pairs) + APKG_MASK packages to skip during -l and -U + CFLAGS C compiler flags (used by cmake build system) + CXXFLAGS C++ compiler flags (used by cmake build system) + CROSS_COMPILE prefix for strip command (e.g. x86_64-linux-musl-) + EOF exit 0 } diff --git a/man/apkg.8 b/man/apkg.8 index a8659b0..7c51840 100644 --- a/man/apkg.8 +++ b/man/apkg.8 @@ -273,12 +273,6 @@ Space-separated list of \fIreal:alias\fR pairs for dependency substitution \fBAPKG_MASK\fR Space-separated list of packages to exclude from \fB\-l\fR and \fB\-U\fR. .TP -\fBAPKG_LOG\fR -If set, enable build logging. -.TP -\fBAPKG_LOG_DIR\fR -Directory for build log files (log filename is \fI$name.log\fR). -.TP \fBCFLAGS\fR, \fBCXXFLAGS\fR Compiler flags used by the cmake build system. .TP -- cgit v1.2.3