Ensure all dependencies mentioned in the README are present.
Create config.mk. Options:
Defaults to usr; can also be usr/local. This is relative to $DESTDIR, see below.
The location under which to install the files in docs/. The default is $PREFIX/share/doc/apkfoundry.
Path to the non-setuid bwrap(1) binary. It can be an absolute path or a command name that is resolved using $PATH. The default is bwrap.nosuid.
Default apk architecture name to use if none is given when bootstrapping containers. The default is x86_64 so you'll probably need to change this.
Run make configure. This will bake in some of the options you specified in the previous step.
Run make. This will build the Python files and the libexec static binaries.
Optionally, run make check.
Run make install. Options:
Root directory under which to install. Defaults to $PWD/target.
The location where APK Foundry internal binaries should be placed. The default is $PREFIX/libexec/apkfoundry. This will be baked into APK Foundry.