Adapt PkgInfo to updated setup for pkgtype

The way pkgtype has been implemented initially for PkgInfoV2 has changed (see pacman/pacman@3405709b and pacman/pacman@6dcd4b53) and with it also the location and data representation in the resulting repository sync database desc files and per package .PKGINFO files:

  • Extended fields are represented below an %XDATA% identifier in desc files (this is only used in local libalpm desc files and not required for the sync database desc files)
  • Extended fields are represented as xdata = foo=bar in .PKGINFO files
Edited by David Runge