Create Pagetypes from Package Controller?

Permalink
Hi Folks,

in 5.7 what is the way to create PageTypes on install?
In 5.6 it's with the install.xml and

<pagetypes>
    <pagetype handle="myhandle" name="New Pagetype" internal="0" icon="template1.png" package="">
      <page name="" path="" filename="" pagetype="myhandle" description="" package="myPackage">
        <area name="Main"/>
        <area name="Sidebar"/>
      </page>
    </pagetype>
</pagetypes>


But how to create the Page Template from 5.7?
Or is there a total different way now?

cheers

sk01