buildrepo(1)
buildrepo - build an apk repository tree
buildrepo [-hknps] [-a DIR] [-d DIR] [-l DIR] [-r REPO] REPO...
buildrepo builds an apk repository tree, taking care to build dependant packages in the correct order. buildrepo shall skip packages that are already up to date.
-a, --aports=DIR Set the aports base dir to DIR instead of $HOME/aports.
-c, --config=FILE Use FILE as config instead of /etc/buildrepo/config.lua.
-d, --destdir=DIR Set destination repository base to DIR instead of $HOME/packages.
-h, --help Show help and exit.
-l, --logdir=DIR Create build logs in DIR/REPO/pkgname/ instead of stdout.
-k, --keep-going Keep going, even if packages fails.
-n, --dry-run Dry run. Don't actually build or delete, just print
-p, --purge Purge obsolete packages from REPODIR after build.
-r, --deps-repo=REPO Dependencies are found in REPO.
-s, --skip-failed Skip those which previously failed (src dir exists).
-R, --rootbld Build packages in clean chroots.
CBUILD=aarch64 buildrepo -d "$HOME/packages" -a "$(pwd)" -p -R builder
abuild(1), APKBUILD(5), apk(8)
Natanael Copa <[email protected]> and other lua-aports authors