mozlinguas-v2.eclass: Adjust for new object dir in seamonkey-2.53.6

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2020-12-31 15:34:01 +01:00
parent 01fa0495e0
commit 62557eeffd

View File

@@ -20,7 +20,9 @@ case "${EAPI:-0}" in
0|1)
die "EAPI ${EAPI:-0} does not support the '->' SRC_URI operator";;
2|3|4|5|6)
inherit eapi7-ver
EXPORT_FUNCTIONS src_unpack src_compile src_install;;
*)
die "EAPI ${EAPI} is not supported, contact eclass maintainers";;
esac
@@ -288,6 +290,9 @@ mozlinguas_src_compile() {
localedir+="/browser/locales"
;;
seamonkey)
if [[ "$(ver_cut 2)" -gt 53 ]] || { [[ "$(ver_cut 2)" -eq 53 ]] && [[ "$(ver_cut 3)" -ge 6 ]] ; } ; then
localedir+="/comm"
fi
localedir+="/suite/locales"
;;
*thunderbird)