I want to install SILE Typesetter which depends on HarfBuzz (libharfbuzz-dev). The libharfbuzz-dev available from repositories is version 1.0.1 (released 2015), while the latest version available from HarfBuzz's website is 1.7.6 (released 2018). How can I create libharfbuzz-dev package from the available new source of HarfBuzz? Or how can I use the available source for building SILE, without creating the package libharfbuzz-dev?
I basically want to build SILE for myself but I certainly am interested in learning how to prepare a package (-dev as well as the regular package) for distribution.