I noticed, that when changing in /etc/dkms/template-dkms-mkdeb/debian/postinst
CVERSION=`dpkg-query -W -f='${Version}' $PACKAGE_NAME | awk -F "-" '{print $1}' | cut -d\: -f2` to CVERSION=`dpkg-query -W -f='${Version}' $PACKAGE_NAME`
the resulting package does work for me.
I noticed, that when changing in /etc/dkms/ template- dkms-mkdeb/ debian/ postinst
CVERSION= `dpkg-query -W -f='${Version}' $PACKAGE_NAME | awk -F "-" '{print $1}' | cut -d\: -f2` `dpkg-query -W -f='${Version}' $PACKAGE_NAME`
to
CVERSION=
the resulting package does work for me.