makepkg: Use pkgbase in pkgdesc for debug packages

When trying to identify debug packages among other packages we
discovered that it's pkgname used in pkgdesc. Since pkgname can
sometimes be an array when building debug packages for a split package,
this could potentially include a pkgname that might not make sense
depending on the order of the array.

This patch simply uses pkgbase as it seems more correct.

Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 2fe1ba5d81)
This commit is contained in:
Morten Linderud 2021-12-19 18:58:25 +01:00 committed by Allan McRae
parent 95ef989978
commit 6c880acb5c

View file

@ -763,7 +763,7 @@ create_debug_package() {
fi
done
pkgdesc="Detached debugging symbols for $pkgname"
pkgdesc="Detached debugging symbols for $pkgbase"
pkgname=$pkgbase-@DEBUGSUFFIX@
create_package