commit:     ab29223eeeb8e487c277586721aa63532766d1a7
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Mon Jul 25 07:29:42 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 07:11:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab29223e

app-dicts/myspell-ca: Bump to 3.0.7

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26583
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-dicts/myspell-ca/Manifest                |  1 +
 app-dicts/myspell-ca/myspell-ca-3.0.7.ebuild | 44 ++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/app-dicts/myspell-ca/Manifest b/app-dicts/myspell-ca/Manifest
index d28bee177fc0..d7c2e7d6f254 100644
--- a/app-dicts/myspell-ca/Manifest
+++ b/app-dicts/myspell-ca/Manifest
@@ -1 +1,2 @@
 DIST myspell-ca-3.0.6.oxt 1729644 BLAKE2B 
d20655f9f3533aa280706463b9db0263e30294e3ca9468dad4f3f9273ff19d91d65c247e7a5ab954d9497f7f1f388129ca596759067c718899575e92110ff778
 SHA512 
4d5b867bd1a923bb2d52fba4b30d73f9e5b4d441c78c77aa88b0d67cf9d7ebef9cac0f0ea1addbaf873b6395590a1295fc43f7a9a0567af79f351d1dc2618259
+DIST myspell-ca-3.0.7.oxt 4743865 BLAKE2B 
019d171f06b8bc5c4e3359213907bdb11f53aaf153899e643d18c0fd2f2c090b05018d0ef32c9f3238730ecad7859423ddb3f7b9081acdda820f29af192c58bc
 SHA512 
75f42a3e1723e75a535f352e72018add4baf0faab4c89208fbd732579f75f040138d9c784fe6e96bbc8194c2416731e920a6950fd9a9a196dbacfd1a03d4512d

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
+}

Reply via email to