libpacman: Move fakepkg creation to it's own file.