Then I think you will find that the plasterboard brings the finished wall flush, or nearly so, with the edge of the door lining.
So you just need to tack on an architrave to hide the join before painting the woodwork.
You may need to use a bit of filler or caulk if they are noticably out of level. If you can put it behind the architrave it will not show.