summaryrefslogtreecommitdiff
blob: 5679506453aa8d2ff24d41d77c082f3657a0216f (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

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

MYSPELL_HYPH=(
	"hyph_lt_LT.dic"
)

inherit myspell-r2

DESCRIPTION="Lithuanian dictionaries for myspell/hunspell"
HOMEPAGE="https://extensions.libreoffice.org/en/extensions/show/lithuanian-spellcheck-and-hyphenation-dictionaries"
SRC_URI="https://extensions.libreoffice.org/assets/downloads/z/openoffice-spellcheck-lt-1-3.oxt"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"

src_prepare() {
	default
	# renaming correctly
	mv lt.aff lt_LT.aff || die
	mv lt.dic lt_LT.dic || die
	mv hyph_lt.dic hyph_lt_LT.dic || die
}