Closed davidgfnet closed 2 years ago
Using the source command on the PSPBUILD files makes sense. It could be saver to do it in another script like so, though: https://github.com/pspdev/psplibraries/blob/a1c85cebda1b84729f434d27840fbde7d5e5a300/parse_pspbuild.sh
Them use it like this: https://github.com/pspdev/psplibraries/blob/a1c85cebda1b84729f434d27840fbde7d5e5a300/libraries.sh#L32
It's just an idea, though. I do think it can be merged like this, since we will review all PSPBUILDs in here, but you may not want all functions and variables in your script in some cases.
Sorry, I messed up with the rebase :) Now should be good to go!
This allows building and installing all packages manually. It respects dependency ordering. This is not used at all as it is, but will send another PR to optionally use it if the user wants it that way.