summaryrefslogtreecommitdiff
path: root/app-dicts/myspell-gl/myspell-gl-20180710.ebuild
blob: abcca4809f7ee08acac5f52a013f4c1b55b165e5 (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
38
39
40
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

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

MYSPELL_HYPH=(
	"hyph_gl_ES.dic"
)

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

inherit myspell-r2

DESCRIPTION="Galician dictionaries for myspell/hunspell"
LICENSE="GPL-2 LGPL-2.1"
HOMEPAGE="https://extensions.libreoffice.org/en/extensions/show/corrector-ortografico-para-galego"
SRC_URI="https://extensions.libreoffice.org/assets/downloads/z/corrector-18-07-para-galego.oxt -> ${P}.oxt"

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

DOCS=( changelog.txt package-description.txt readme.txt readme-gl.txt readme_hyph-gl.txt readme_th_gl.txt )

src_prepare() {
	default
	# Naming correctly
	mv gl.aff gl_ES.aff || die
	mv gl.dic gl_ES.dic || die
	mv hyph_gl.dic hyph_gl_ES.dic || die
	mv thesaurus_gl.dat thes_gl_ES.dat || die
	mv thesaurus_gl.idx thes_gl_ES.idx || die
}