forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
myspell-fr-4.5-r1.ebuild
53 lines (44 loc) · 1.6 KB
/
myspell-fr-4.5-r1.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
MYSPELL_DICT=(
"fr-moderne.aff"
"fr-moderne.dic"
"fr-classique.aff"
"fr-classique.dic"
"fr_FR.aff"
"fr_FR.dic"
"fr-reforme1990.aff"
"fr-reforme1990.dic"
)
MYSPELL_HYPH=(
"hyph_fr_FR_v3.dic"
)
MYSPELL_THES=(
"th_fr_FR_v3.dat"
"th_fr_FR_v3.idx"
)
inherit myspell-r2
DESCRIPTION="French dictionaries for myspell/hunspell"
HOMEPAGE="http://extensions.libreoffice.org/extension-center/dictionnaires-francais"
SRC_URI="
http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/${PV}/ooo-dictionnaire-fr-moderne-v${PV}.oxt
http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/${PV}/ooo-dictionnaire-fr-classique-v${PV}.oxt
http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/${PV}/ooo-dictionnaire-fr-classique-reforme1990-v${PV}.oxt
http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/${PV}/ooo-dictionnaire-fr-reforme1990-v${PV}.oxt
"
LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux ~x86-macos"
IUSE=""
src_prepare() {
# the default should be classique+reforme1990
# renaming to fr_FR
mv fr-classique+reforme1990.aff fr_FR.aff || die
mv fr-classique+reforme1990.dic fr_FR.dic || die
# move the hyphen/thes to common used name
# versions determined from README files
mv hyph_fr.dic hyph_fr_FR_v3.dic || die
mv thes_fr.dat th_fr_FR_v3.dat || die
mv thes_fr.idx th_fr_FR_v3.idx || die
}