Is there an intended way to statically compile a library into a package? I'd usually compile the library first, copy the resulting .a and header files over to the actual programs sources, maybe adapt the makefile a little and then compile it. This seems somewhat unelegant and I wonder if maybe xbps-src has some mechanism to aid with this situation.