The sources are kept in a Mercurial repository here in the applications/prm repository

Example recipes can be found here, in the Mercurial repositories with names 'recipes/*'.