On the given system the weight of the body m is the only force whose moment is effective about the axis of pulley. Let us take the sense of →ω of the pulley at an arbitrary instant as the positive sense of axis of rotation (z-axis)
As Mz(0)=0, so, ΔMz=Mz(t)=∫Nzdt
So, Mz(t)=∫t0mgRdt=mgRt