pkgdesc variable in package splitting gets ignored when in AUR
Checklist
This bug template is meant to provide bug issues for code existing in the aurweb repository. This bug template is not meant to handle bugs with user-uploaded packages.
To work out a bug you have found in a user-uploaded package, contact the package's maintainer first. If you receive no response, file the relevant package request against it so TUs can deal with cleanup.
-
I confirm that this is an issue with aurweb's code and not a user-uploaded package. -
I have described the bug in complete detail in the Description section. -
I have specified steps in the Reproduction section. -
I have included any logs related to the bug in the Logs section. -
I have included the versions which are affected in the Version(s) section.
Description
The pkgdesc
variable in a PKGBUILD
using split packages is ignored on the web ui and picking the first one (i.e. the base package) instead.
According to https://archlinux.org/pacman/PKGBUILD.5.html#_package_splitting one can set the pkgdesc
variable in each package_<name>
function.
This works for packages in the official repositories quite well. Example: https://archlinux.org/packages/core/x86_64/systemd-libs/
all good.
but the pkgdesc
variable of the same package gets overwritten by the pkgdesc
variable of the base packagename when in the AUR:
Example:
https://aur.archlinux.org/packages/systemd-libs-git -> see the field "Description" which is using the pkgdesc
value of https://aur.archlinux.org/packages/systemd-git instead
the correct one defined for systemd-libs would be: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=systemd-git#n220
Reproduction
build a split package with different pkgdesc
variables in every section and upload to the AUR. Open AUR web and find that only the first pkgdesc
will be shown for all package names.
Logs
N/A
Version(s)
N/A