dev/dbg splitfunctions assume '$pkgver-r$pkgrel' is always valid (to 'apk index')
Commit 69733b0c (NOT upstream) introduced an assumption that $pkgver-r$pkgrel
will always be valid.
apk-tools@a6126a6f (upstream) introduced a check to prevent packages from being created if it detects what it considers to be a malformed depend: