| Doesn't the DEBIAN/md5sums file already do that? debian/md5sums is not mandatory nor documented anywhere in the policy or the packaging manual. Maybe it's time to instate it.