1 |
commit: 6713fafe395a5489d3bea6880be339792e4a0519 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 14 12:46:37 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 14 13:02:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6713fafe |
7 |
|
8 |
app-dicts/myspell-nl: Fix regions (#607080 by Erik Quaeghebeur) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/607080 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
|
14 |
app-dicts/myspell-nl/myspell-nl-2.10g-r1.ebuild | 45 +++++++++++++++++++++++++ |
15 |
1 file changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/app-dicts/myspell-nl/myspell-nl-2.10g-r1.ebuild b/app-dicts/myspell-nl/myspell-nl-2.10g-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..896c93bf5d5 |
20 |
--- /dev/null |
21 |
+++ b/app-dicts/myspell-nl/myspell-nl-2.10g-r1.ebuild |
22 |
@@ -0,0 +1,45 @@ |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+MYSPELL_DICT=( |
29 |
+ "nl.aff" |
30 |
+ "nl.dic" |
31 |
+) |
32 |
+ |
33 |
+MYSPELL_HYPH=( |
34 |
+ "hyph_nl.dic" |
35 |
+) |
36 |
+ |
37 |
+MYSPELL_THES=( |
38 |
+ "th_nl_v2.dat" |
39 |
+ "th_nl_v2.idx" |
40 |
+) |
41 |
+ |
42 |
+inherit myspell-r2 |
43 |
+ |
44 |
+DESCRIPTION="Dutch dictionaries for myspell/hunspell" |
45 |
+HOMEPAGE="https://www.opentaal.org" |
46 |
+# Thesarus is not versioned at all, I suppose we could bump it with each dict |
47 |
+# release, or when people say that the download uri checksum changed. |
48 |
+SRC_URI=" |
49 |
+ https://www.opentaal.org/bestanden/license_result/20-woordenlijst-v-${PV//./}-voor-openofficeorg-3?bid=20&agree=1 -> ${P}.oxt |
50 |
+ https://data.opentaal.org/opentaalbank/thesaurus/download/thes_nl.oxt -> ${P}_thes.oxt |
51 |
+" |
52 |
+ |
53 |
+LICENSE="BSD-2 CC-BY-3.0" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
56 |
+IUSE="" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ # Fix regions, bug #607080 |
61 |
+ mv nl_NL.aff nl.aff || die |
62 |
+ mv nl_NL.dic nl.dic || die |
63 |
+ mv hyph_nl_NL.dic hyph_nl.dic || die |
64 |
+ |
65 |
+ # remove dutch translated license so it aint installed |
66 |
+ rm -rf licentie* || die |
67 |
+} |