From ac396d2b4f1a1ea686c77eaf885f70c692f76cf1 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sat, 20 Jun 2026 15:04:12 +0800 Subject: fixes --- apkg | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'apkg') 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 } -- cgit v1.2.3