vnak: Add pkgver and prepare functions.