diff options
author | Esteve Varela Colominas <esteve.varela@gmail.com> | 2023-08-15 11:48:48 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-09-01 20:18:34 +0300 |
commit | 7e2202957e34becb97e07ca96dfcde8e96935235 (patch) | |
tree | d7c1e0267b3c7db5f976a066507b4df9ff521c85 /app-dicts/myspell-ca/myspell-ca-3.0.8.ebuild | |
parent | dev-libs/modsecurity: drop old (diff) | |
download | gentoo-7e2202957e34becb97e07ca96dfcde8e96935235.tar.gz gentoo-7e2202957e34becb97e07ca96dfcde8e96935235.tar.bz2 gentoo-7e2202957e34becb97e07ca96dfcde8e96935235.zip |
app-dicts/myspell-ca: Bump to 3.0.8
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32317
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-dicts/myspell-ca/myspell-ca-3.0.8.ebuild')
-rw-r--r-- | app-dicts/myspell-ca/myspell-ca-3.0.8.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-dicts/myspell-ca/myspell-ca-3.0.8.ebuild b/app-dicts/myspell-ca/myspell-ca-3.0.8.ebuild new file mode 100644 index 000000000000..1964d143e0ec --- /dev/null +++ b/app-dicts/myspell-ca/myspell-ca-3.0.8.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 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 ~ia64 ~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 +} |