updated flexget pkgbuild to use pkgver function