commit:     8a5d842b909384d604c3bd7d8a18178af4505c17
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Wed Jun  9 07:59:35 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 06:38:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5d842b

app-dicts/myspell-fr: fix naming syntax of installed files

Closes: https://bugs.gentoo.org/794991
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-dicts/myspell-fr/myspell-fr-5.7-r1.ebuild | 44 +++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/app-dicts/myspell-fr/myspell-fr-5.7-r1.ebuild 
b/app-dicts/myspell-fr/myspell-fr-5.7-r1.ebuild
new file mode 100644
index 00000000000..59b43539450
--- /dev/null
+++ b/app-dicts/myspell-fr/myspell-fr-5.7-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MYSPELL_DICT=(
+       "fr-classique.aff"
+       "fr-classique.dic"
+       "fr-moderne.aff"
+       "fr-moderne.dic"
+       "fr-reforme1990.aff"
+       "fr-reforme1990.dic"
+       "fr_FR.aff"
+       "fr_FR.dic"
+)
+
+MYSPELL_HYPH=(
+       "hyph_fr.dic"
+       "hyph_fr.iso8859-1.dic"
+)
+
+MYSPELL_THES=(
+       "thes_fr.dat"
+       "thes_fr.idx"
+)
+
+inherit myspell-r2
+
+DESCRIPTION="French dictionaries for myspell/hunspell"
+HOMEPAGE="https://extensions.libreoffice.org/extension-center/dictionnaires-francais";
+SRC_URI="https://extensions.libreoffice.org/assets/downloads/z/lo-oo-ressources-linguistiques-fr-v5-7.oxt";
+
+LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~x86-linux"
+
+DOCS=( package-description.txt README_dict_fr.txt README_hyph_fr-2.9.txt 
README_hyph_fr-3.0.txt README_thes_fr.txt )
+
+src_prepare() {
+       default
+       mv fr-toutesvariantes.aff fr_FR.aff || die
+       mv fr-toutesvariantes.dic fr_FR.dic || die
+       rm -r french_flag_16.bmp french_flag.png || die
+}

Reply via email to