Skip to content
  • Morten Linderud's avatar
    makepkg: Implement pkgtype in .PKGINFO · 241c29f0
    Morten Linderud authored and Allan McRae's avatar Allan McRae committed
    This implements pkgtype into .PKGINFO. This is useful to ensure tools
    parsing packages do not miss important context on the creation of the
    For instance discovering if a given .pkg.tar is a debug package, one
    would have to do heuristics on the pkgdesc and "${pkgbase}-debug".
    However both of these values are controlled by the packager.
    Similarly, the heuristic for discovering split packages is if pkgbase
    and pkgname differ, which can happen in any package as both values are
    packager controlled.
    This should ensure we don't need to rely on heuristics and instead
    include the context of how the package was created.
    Signed-off-by: default avatarMorten Linderud <>
    Signed-off-by: default avatarAllan McRae <>