xbps-src: make the 'pkg' target work after 'install'.

- Create state files in $wrksrc for $sourcepkg and $subpackages
to see if the phase needs to be re-run.