I've been stupid and have got some merge conflicts to sort out, but things are roughly on par with the old script in terms of basic functions (build and install). Some notes:
Building currently takes far too long preprocessing.
I might not mind this, except that it's only for the sake of a pretty display.
I can, and should, optimize (that is, rewrite...) this a lot more.
Things aren't very tidy overall.
Some functions could do with being moved around.
I've been stupid and have got some merge conflicts to sort out, but things are roughly on par with the old script in terms of basic functions (build and install). Some notes: