app-dicts/myspell-ca: Bump to 3.0.9

Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42192
Closes: https://github.com/gentoo/gentoo/pull/42192
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Esteve Varela Colominas
2025-05-21 21:17:35 +02:00
committed by Sam James
parent 7796bdaedf
commit e8cc365218
2 changed files with 47 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST myspell-ca-3.0.8.oxt 5217894 BLAKE2B 44b0cfa1bd2ff7aac3fae24be49426b62c77b3f2a40ad68be94859f8b7ee6c9327173346d7433ffbaa6aeba5d808113c664acf951092e5e38f16ad888c383fac SHA512 2d38bd14cbe45c2324c48c87ec85cf733fc0d3c3851621af90c41107615f69ccf4e8f3a27b1e0806139b52437491dff6092ea83a5fa78cb5f0d9c0ab4c2be169
DIST myspell-ca-3.0.9.oxt 5485184 BLAKE2B 49e0fcdbac60db9c3a3b2ca1fb91fc4ecc9484960238a859fe62e833097e071e67e1e0200025cf384b862e6dd8a6a11c1c9c0ef6065a8000cd93108a5453d955 SHA512 32bf40295640fdc8d9440d704498638f4d04514f80291a41837bc3c81d152dd8f88280a602cff6ec0eb900ad3ac00136f7ff9f170f3bb867c53842f7f9dbed43

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MYSPELL_DICT=(
"ca_ES.aff"
"ca_ES.dic"
"ca_ES-valencia.aff"
"ca_ES-valencia.dic"
)
MYSPELL_HYPH=(
"hyph_ca_ES.dic"
)
MYSPELL_THES=(
"th_ca_ES.idx"
"th_ca_ES.dat"
)
inherit myspell-r2
DESCRIPTION="Catalan dictionaries for myspell/hunspell"
HOMEPAGE="https://www.softcatala.org/programes/corrector-ortografic-de-catala-general-per-al-libreoffice-i-lapache-openoffice/ https://github.com/Softcatala/catalan-dict-tools/"
MY_PV="${PV%_p*}"
SRC_URI="https://github.com/Softcatala/catalan-dict-tools/releases/download/v${MY_PV}/ca.${MY_PV}.oxt -> ${P}.oxt"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
src_prepare() {
default
# rename to conform the common naming scheme
mv ca.aff ca_ES.aff || die
mv ca.dic ca_ES.dic || die
mv ca-ES-valencia.aff ca_ES-valencia.aff || die
mv ca-ES-valencia.dic ca_ES-valencia.dic || die
mv hyph_ca.dic hyph_ca_ES.dic || die
# remove licenses
rm LICENSES-en.txt LLICENCIES-ca.txt || die
}