aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremmett1 <me@emmett1.my>2026-06-20 15:04:12 +0800
committeremmett1 <me@emmett1.my>2026-06-20 15:04:12 +0800
commitac396d2b4f1a1ea686c77eaf885f70c692f76cf1 (patch)
treef06e953dca5f2a771c772ad6502d0172960c7ffe
parent830abea898eb8f3652ec400071099478cea4ebd5 (diff)
downloadautils-ac396d2b4f1a1ea686c77eaf885f70c692f76cf1.tar.gz
autils-ac396d2b4f1a1ea686c77eaf885f70c692f76cf1.zip
fixes
-rwxr-xr-xapkg18
-rw-r--r--man/apkg.86
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 <pattern> 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