summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-dicts/myspell-ca/Manifest1
-rw-r--r--app-dicts/myspell-ca/metadata.xml9
-rw-r--r--app-dicts/myspell-ca/myspell-ca-3.0.6.ebuild44
3 files changed, 53 insertions, 1 deletions
diff --git a/app-dicts/myspell-ca/Manifest b/app-dicts/myspell-ca/Manifest
index c6f49e2299ef..7ea1aa2663f1 100644
--- a/app-dicts/myspell-ca/Manifest
+++ b/app-dicts/myspell-ca/Manifest
@@ -1 +1,2 @@
+DIST ca.3.0.6.oxt 1729644 BLAKE2B d20655f9f3533aa280706463b9db0263e30294e3ca9468dad4f3f9273ff19d91d65c247e7a5ab954d9497f7f1f388129ca596759067c718899575e92110ff778 SHA512 4d5b867bd1a923bb2d52fba4b30d73f9e5b4d441c78c77aa88b0d67cf9d7ebef9cac0f0ea1addbaf873b6395590a1295fc43f7a9a0567af79f351d1dc2618259
DIST myspell-ca-2.3.0.oxt 441719 BLAKE2B 4f58648eac1f77a6e1e2cc571a2528d474c961ce15cab00b822638937bfe450330f4decc8744284b66e5e2b5d58ccf2b03110303d86286e1aa5e7508fd2362a8 SHA512 77513fa6b2d819963bc03aece59aeb2fe6df7674c0fea4fa9a406e6c27efdfbca3ebfc4b36aca4275d79f09678ab58a56c3d6470a815a2192b2ffc4e01c779bf
diff --git a/app-dicts/myspell-ca/metadata.xml b/app-dicts/myspell-ca/metadata.xml
index 3c58a0219fbe..17d43b56530a 100644
--- a/app-dicts/myspell-ca/metadata.xml
+++ b/app-dicts/myspell-ca/metadata.xml
@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>esteve.varela@gmail.com</email>
+ <name>Esteve Varela Colominas</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<stabilize-allarches/>
</pkgmetadata>
diff --git a/app-dicts/myspell-ca/myspell-ca-3.0.6.ebuild b/app-dicts/myspell-ca/myspell-ca-3.0.6.ebuild
new file mode 100644
index 000000000000..ba020ff6f8a6
--- /dev/null
+++ b/app-dicts/myspell-ca/myspell-ca-3.0.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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_v3.idx"
+ "th_ca_ES_v3.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"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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
+}