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

EAPI=8

MYSPELL_DICT=(
	"opt/libreoffice7.1/share/extensions/dict-hu/hu_HU.aff"
	"opt/libreoffice7.1/share/extensions/dict-hu/hu_HU.dic"
)

MYSPELL_HYPH=(
	"opt/libreoffice7.1/share/extensions/dict-hu/hyph_hu_HU.dic"
)

MYSPELL_THES=(
	"opt/libreoffice7.1/share/extensions/dict-hu/th_hu_HU_v2.dat"
	"opt/libreoffice7.1/share/extensions/dict-hu/th_hu_HU_v2.idx"
)

inherit rpm myspell-r2

DESCRIPTION="Hungarian dictionaries for myspell/hunspell"
HOMEPAGE="http://magyarispell.sourceforge.net/"
SRC_URI="https://downloadarchive.documentfoundation.org/libreoffice/old/${PV}/rpm/x86_64/LibreOffice_${PV}_Linux_x86-64_rpm_langpack_hu.tar.gz"

LICENSE="GPL-3 GPL-2 LGPL-2.1 MPL-1.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86"
IUSE=""

src_unpack() {
	myspell-r2_src_unpack

	rpm_unpack ./LibreOffice_${PV}_Linux_x86-64_rpm_langpack_hu/RPMS/libreoffice7.1-dict-hu-${PV}-2.x86_64.rpm
}