As it is hard to properly package an XKB layout because there's not only "extra files" to install but also XML manipulations in root-owned files, here is a small perl script that automates these steps
Fetch all deps with a tool like
cpanm --installdeps .
cpanm --with-develop --installdeps .
The LICENSE only applies to files outside of the
vendor directory, over which I
have no rights