summaryrefslogtreecommitdiff
path: root/app-dicts/myspell-large-en
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/myspell-large-en')
-rw-r--r--app-dicts/myspell-large-en/Manifest6
-rw-r--r--app-dicts/myspell-large-en/metadata.xml12
-rw-r--r--app-dicts/myspell-large-en/myspell-large-en-20201207.ebuild42
3 files changed, 60 insertions, 0 deletions
diff --git a/app-dicts/myspell-large-en/Manifest b/app-dicts/myspell-large-en/Manifest
new file mode 100644
index 000000000000..daedae884e50
--- /dev/null
+++ b/app-dicts/myspell-large-en/Manifest
@@ -0,0 +1,6 @@
+DIST hunspell-en_AU-large-2020.12.07.zip 314019 BLAKE2B 91d7a7c925d24c27591e70df8f7db9dca469106fcb14dbeb8befb645befe345237b76d7f0f38027b2cb4c894ea53c2574c938341d890411d2648519dd9943c93 SHA512 020684f5d8abf227a6566ebfe7343ee51f7f79576a89e9955ca614b3847e2b7e7be48025b22265a4cb8f86e5e8cbb2620385b46104c3ffec5c604775dea0bec0
+DIST hunspell-en_CA-large-2020.12.07.zip 313409 BLAKE2B f2b6b9ece44c9c07f084d8af0deec96218390288ec7caf07316ef517042f4a3b0d581353d1635d4e2a2797867ed95a6e76325c42e3364a15db8a49a94f50ddff SHA512 a3c591d8593b3fb6d0c28c2764cb85dec6650073f7b6a1074e9d6f96cbb2194d4bd0cbd61be59ebe14f89e3f5d5d83f10706e69130ec5c7d90f088005de9b464
+DIST hunspell-en_GB-large-2020.12.07.zip 315876 BLAKE2B f71b304e97e10368180d0abb7b2304649c4e481848226d693768f54dca96b9f4f1e85e54efd052546236cbc94b5caba19df801d75c46ab20a68df98e7758aeb1 SHA512 a402c40717cd185ea8c14be2d4dc7df67580f197d276ae660a7cf478ae3e07e469c78271feb0c4c6b7c1c418bfb10e7f42c1e5f4b9635a4d3c47e1af4a747a4c
+DIST hunspell-en_US-large-2020.12.07.zip 312362 BLAKE2B f7ab7abb438806826408a5641b82094a69dc85c403389e6ea63d726c68dee49542e1b826f73261eef37cb53f291047d95b91011c501ee00e0e7fd62e301850d3 SHA512 b370fc77735666d9de1c0cc9a1028819974b254291a0aacbcf6037a8cbb23f75538f2130249a0bab46d32dbbd3e0788407c227423d375ef1430dff7a016092dc
+EBUILD myspell-large-en-20201207.ebuild 1280 BLAKE2B dfb8e86852075ec7fe980e97257306acf60ad7e7f5105da615e2fe0e418d2dc27ed8fdf44117254c85bd83db7f68565cfb9931b1c0541da1a3bfc7613fa8c039 SHA512 78566b05225a3ccae76afb76f85c022d96834347d62cc6c5b2fc7d5f15e5452a1b183d264ac176c2aedd36c736d79234882489973c55eecb0fef1f1b6b15253a
+MISC metadata.xml 367 BLAKE2B ba1f5365b9b1585d0ed0513fd8a7f3aef4cbdcced1257cdb3e0cd167845f04cc248160164f367f0268c4388ebbc618a85bc248355be0cdcfd3bb827875bf6cdb SHA512 b6022494b82fa7956d3f6320d170fff6433ccfb601c9107cb5f9a0a8419d3bfde4c2dc3eded7f0e6a8503ffb142d144d8cf983dd73cc7bdebeb9ab687efdd9e2
diff --git a/app-dicts/myspell-large-en/metadata.xml b/app-dicts/myspell-large-en/metadata.xml
new file mode 100644
index 000000000000..d8d2eab72daf
--- /dev/null
+++ b/app-dicts/myspell-large-en/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>onigino@protonmail.com</email>
+ <name>Gino McCarty</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-dicts/myspell-large-en/myspell-large-en-20201207.ebuild b/app-dicts/myspell-large-en/myspell-large-en-20201207.ebuild
new file mode 100644
index 000000000000..370675bf4c9a
--- /dev/null
+++ b/app-dicts/myspell-large-en/myspell-large-en-20201207.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV:0:4}.${PV:4:2}.${PV:6:2}
+
+inherit myspell-r2
+
+DESCRIPTION="English Large dictionaries for myspell/hunspell"
+HOMEPAGE="https://sourceforge.net/projects/wordlist/"
+SRC_URI="
+ https://versaweb.dl.sourceforge.net/project/wordlist/speller/${MY_PV}/hunspell-en_AU-large-${MY_PV}.zip
+ https://versaweb.dl.sourceforge.net/project/wordlist/speller/${MY_PV}/hunspell-en_CA-large-${MY_PV}.zip
+ https://versaweb.dl.sourceforge.net/project/wordlist/speller/${MY_PV}/hunspell-en_GB-large-${MY_PV}.zip
+ https://versaweb.dl.sourceforge.net/project/wordlist/speller/${MY_PV}/hunspell-en_US-large-${MY_PV}.zip
+"
+
+LICENSE="myspell-en_CA-KevinAtkinson public-domain Princeton Ispell"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+PLOCALES=( "en" "en-AU" "en-CA" "en-GB" "en-US" )
+IUSE+="${PLOCALES[@]/#/l10n_}"
+REQUIRED_USE="|| ( ${IUSE[@]} )"
+
+src_prepare() {
+ default
+
+ MYSPELL_DICT=( )
+ for lang in "${PLOCALES[@]}"; do
+ if [[ "${lang}" == "en" ]]; then
+ continue
+ fi
+ local mylinguas="${lang//-/_}-large"
+ if use "l10n_${lang}" || use l10n_en; then
+ MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
+ else
+ rm "README_${mylinguas}.txt" || die
+ fi
+ done
+}