Hi there! I'm spliting a package into many, which all should share the same license file. I wonder if they need separate copies into "licenses/$pkgname/LICENSE", or there is some way they could share one "licenses/$pkgbase/LICENSE"?
You need to ensure no matter which package they install, they get the license.
If all of them depend on one of the split packages, you could have each subpackage install a symlink. For example, each of the split packages in gcc install a symlink for /usr/share/licenses/gcc*/RUNTIME.LIBRARY.EXCEPTION, pointing to /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION since gcc-libs is a dependency of all the gcc frontend split packages.
]]>See for example the extra / mesa PKGBUILD .
]]>