Actually use the correct function for generating the pkgver.
Switch to  instead of mkdir, no reason.
Reshuffle some variables to be more aesthetically pleasing.
Version bump