How to package a Customized Slicer Application?

I have developed a customized slicer application using SlicerCustomAppTemplate.

I want to package my app into a .deb file on ubuntu18.04, however, I have less knowledge about software packaging. So I am wondering is there any tutorial or template CMake Script that can let me know how to package the whole application?

We don’t make deb files for Slicer, but it seems cpack should support it.
https://cmake.org/cmake/help/latest/cpack_gen/deb.html