Just trying to figure out how to solve this…
Found this:
Oops I don’t think I took in the rest of the above comment.
pamac build rtl8812au-dkms-git
Dont forget to install the headers. For example:
pamac install linux54-headers
Modifying for rtl88x2bu-dkms-git