pkg, db: add preliminary mini support for arch field
Parse arch from .PKGINFO and index; write it to index and installed database. Contains conservative parts from master branch commit fca1c30b. We'll add the repository URL related changes when we have a migration plan.
Showing with 24 additions and 2 deletions