Awk and sed hacks to format mercurial tags in pkgver