Skip to content

Commit

Permalink
mail-client/claws-mail: live ebuild adjustments
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Mar 4, 2021
1 parent 0d75548 commit 55a882c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mail-client/claws-mail/claws-mail-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -109,7 +109,7 @@ PATCHES=(
)

pkg_setup() {
if [[ "${PV}" == *9999 ]] && ! use gtk2 ; then
if [[ "${PV}" == 9999 ]] && ! use gtk2 ; then
EGIT_BRANCH="gtk3"
fi
}
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 55a882c

Please sign in to comment.