diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-13 14:24:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-13 14:24:01 +0100 |
commit | b392cbf078526e18db5d54ec37f9580be480fd48 (patch) | |
tree | f2f8f60717bb0fbe3df7452c2e0b1e0c192341d1 /app-dicts/myspell-ca/myspell-ca-3.0.7.ebuild | |
parent | cd40bc9ab405aca4e72f869db79d9d1ff77d8313 (diff) |
gentoo auto-resync : 13:08:2022 - 14:24:01
Diffstat (limited to 'app-dicts/myspell-ca/myspell-ca-3.0.7.ebuild')
-rw-r--r-- | app-dicts/myspell-ca/myspell-ca-3.0.7.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-dicts/myspell-ca/myspell-ca-3.0.7.ebuild b/app-dicts/myspell-ca/myspell-ca-3.0.7.ebuild new file mode 100644 index 000000000000..bc4530071db3 --- /dev/null +++ b/app-dicts/myspell-ca/myspell-ca-3.0.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 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/" +SRC_URI="https://github.com/Softcatala/catalan-dict-tools/releases/download/v${PV}/ca.${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 +} |