Apart from the PKGBUILD available on AUR, I didn't provide building instructions until now as these would change frequently due to the patches applied. I did however provide some rough instructions to follow in the following comment, I hope this helps:
If it was an Arch-based distribution this would be the easiest way, OP was asking on how to build it from source on another distribution though. Here, our beloved makepkg is sadly not available.
Sorry, my English is very bad . To build on a different distribution, you will need the dependency versions relevant to arch.You will have to apply the patches manually during assembly. Otherwise, it is assembled in the same way as librewolf