This Clash Debian package might help with packaging: https://gitlab.com/xdeb/clash (see also .gitlab-ci.yml file)