Place on top of a board and screw through both from underneath from underneath without drilling or screwing through to the outer face which will be on display. Fix another board of the same thickness next to the architrave, and clamp a straight edge to this the required length from the cut line. Cut with circular saw.
Blup