This repository contains a build script for building all of SMXO locally on the pinephone. Note that it will overwrite the files installed by your the official sxmo packages!
Though the script is primarily aimed at postmarketOS/Alpine Linux users, there is also some support for use on Arch Linux and Debian.
When you run into errors upgrading, you may simply want to remove the
build-sxmo-dev directory that was created by this script
and try again.