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>
This commit is contained in:
Morten Linderud 2021-12-19 18:58:25 +01:00 committed by Allan McRae
parent 0be1d4e5d0
commit 2fe1ba5d81

View file

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