Build Appimage from source instead of .deb package
Building an app image with pkg2appimage is not recommended:
pkg2appimage uses distribution packages downloaded using the package managers, however, the packages are not authenticated, as most security functionality has been deactivated. This is a major security issue. pkg2appimage is therefore recommended for personal use only. Upstream authors should consider packaging from source.https://docs.appimage.org/packaging-guide/from-source/index.html#ref-from-source