Both suggestions work great, But since block breaks apart easy, I also stick some Construction adheasive between the wood and the block. Only if you need the extra security, because once it is done, you cannot remove or adjust the jamb.
But it holds like you would not believe.