mail-client/claws-mail: live ebuild adjustments

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler 2021-03-04 12:53:03 +01:00
parent 0d75548dad
commit 55a882c310
No known key found for this signature in database
GPG Key ID: 571DD2D0343C6039
1 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -13,7 +13,7 @@ if [[ "${PV}" == *9999 ]] ; then
EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git"
else
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
fi
SLOT="0"
@ -109,7 +109,7 @@ PATCHES=(
)
pkg_setup() {
if [[ "${PV}" == *9999 ]] && ! use gtk2 ; then
if [[ "${PV}" == 9999 ]] && ! use gtk2 ; then
EGIT_BRANCH="gtk3"
fi
}
@ -209,7 +209,8 @@ src_install() {
doexe tb2claws-mail update-po uudec uuooffice
# kill useless files
rm -f "${ED}"/usr/lib*/claws-mail/plugins/*.{a,la}
find "${ED}"/usr/lib*/claws-mail/plugins/ \
\( -name "*.a" -o -name ".la" \) -delete || die
}
pkg_postinst() {