Hello! There is an bash example to create an hpkg containing fonts:
Another one is using a little app mentioned in this post:
Good luck!