Install from source and create package with checkinstall
Example: to install simple terminal (st) from source and create a .deb
package, run:
$ sudo apt install git checkinstall
$ git clone link/to/repo
$ make clean
$ sudo checkinstall
To remove package:
$ dpkg -r st
Other example, see suckless’ X display locker slock install: https://yctct.com/slock
personal computing command-line interface (cli) gnu linux trisquel shell literacy wiki checkinstall st suckless