Skip to content
  • Allan McRae's avatar
    Build a single debug package for all packages from a PKGBUILD · 9a4d6162
    Allan McRae authored
    
    
    We want to provide source files with debug symbol packages to allow easy
    stepping through the program.  This becomes difficult with split packages due
    to the binaries in many of these sharing source files across packages.
    
    There are (at least) two solutions to this problem. #1: ensure common source
    files are located in the debug package for the package lowest in the dependency
    chain and add dependencies to the debug packages so all require source files
    are present, or #2: create one debug package for all split packages in a
    PKGBUILD.  The second is a more robust approach despite potentially creating
    very large debug packages.
    
    This patch creates a single $pkgbase-debug package and adds provides such that
    installing $pkgname-debug will always work.
    
    Signed-off-by: default avatarAllan McRae <allan@archlinux.org>
    9a4d6162