summaryrefslogtreecommitdiff
blob: e257e5847dc044f2a6fd7b6b3764e9e201b41539 (plain)
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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MYSPELL_DICT=(
	"it_IT.aff"
	"it_IT.dic"
)

MYSPELL_HYPH=(
	"hyph_it_IT.dic"
)

MYSPELL_THES=(
	"th_it_IT_v2.dat"
	"th_it_IT_v2.idx"
)

inherit myspell-r2

DESCRIPTION="Italian dictionaries for myspell/hunspell"
HOMEPAGE="https://extensions.libreoffice.org/en/extensions/show/italian-dictionary-thesaurus-hyphenation-patterns"
SRC_URI="https://extensions.libreoffice.org/assets/downloads/z/874d181c_dict-it.oxt -> ${P}.oxt"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"

DOCS=( CHANGELOG.txt desc_en.txt desc_it.txt it_IT_notes.txt it_IT_README.txt README_hyph_it_IT.txt README.txt  )

src_prepare() {
	default
	# remove useless license files.
	rm -r ico.png it_IT_COPYING thes_gpl.txt th_it_IT_COPYING it_IT_todo.txt \
	th_it_IT_Lingua.png th_it_IT_Linguistica-Modifica.png th_it_IT_sinonimi.jpg || die
}