1 |
commit: f6d48ea29a5d20d3138f45e72460bd2afa85c731 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jul 17 02:58:15 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 18 21:46:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6d48ea2 |
7 |
|
8 |
app-dicts/dictd-misc: initial import |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
app-dicts/dictd-misc/Manifest | 2 + |
13 |
app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild | 48 +++++++++++++++++++++++ |
14 |
app-dicts/dictd-misc/metadata.xml | 9 +++++ |
15 |
3 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/app-dicts/dictd-misc/Manifest b/app-dicts/dictd-misc/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..013b78b4b |
20 |
--- /dev/null |
21 |
+++ b/app-dicts/dictd-misc/Manifest |
22 |
@@ -0,0 +1,2 @@ |
23 |
+DIST dict-misc_1.5A-2.diff.gz 4765 BLAKE2B 79df500281d1b354480457beb540c061b92c99a8dccc693169159440f2b1b5cb1b4bb184c374bc55a2d1e49ad1713c3ceb66fd2871e64d50ae79e1c7b625680f SHA512 56df697c138cf5f2002df30911b8811e94a6d389610c8961f9371de95c6425bbeb5c8abec42d79efde87643df2e59d43c0bf0fb0a5ec06f4564e9c25c62d0637 |
24 |
+DIST dict-misc_1.5A.orig.tar.gz 1097766 BLAKE2B ee29fcfb42b689d6818128f8cfc0dc1c74cc8522808e9bae14888c1fb9a95aee69504f2900e58cbdf21d9437961a0b91a8ff9f7bcf693ecc11180697c71caf47 SHA512 96c8a94cc28be40ee0cd1d102d2a77de0636995765e95cacb9a16d451cb4983e0c0b970f4964fef7c8ebd2cb4d96a44a3e97112f66646995b3ff64f0ad6d07f3 |
25 |
|
26 |
diff --git a/app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild b/app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000..8285ac760 |
29 |
--- /dev/null |
30 |
+++ b/app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+MYPV="${PV/_alpha/A-}" |
38 |
+MYPV2="$(ver_cut 1-3 ${MYPV} )" |
39 |
+ |
40 |
+DESCRIPTION="Hitchcock's and Easton's Bible Dictionaries" |
41 |
+HOMEPAGE="http://www.dict.org" |
42 |
+SRC_URI=" |
43 |
+ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dict-misc/${MYPV}/dict-misc_${MYPV2}.orig.tar.gz |
44 |
+ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dict-misc/${MYPV}/dict-misc_${MYPV}.diff.gz |
45 |
+" |
46 |
+S="${WORKDIR}/dict-misc-${MYPV2}" |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+ |
51 |
+BDEPEND=">=app-text/dictd-1.13.0-r3" |
52 |
+RDEPEND="${BDEPEND}" |
53 |
+ |
54 |
+PATCHES=( "${WORKDIR}/dict-misc_${MYPV}.diff" ) |
55 |
+ |
56 |
+src_compile() { |
57 |
+ cat easton/easton-info.txt easton/T*.html \ |
58 |
+ | sed 's,<A HREF=[^>]*>\([^<]*\).*</A>,{\1},g' \ |
59 |
+ | sed 's,\([A-Z][A-Z]*\) .T000[0-9]*,{\1},g' \ |
60 |
+ | dictfmt -e \ |
61 |
+ -u ftp://ccel.wheaton.edu/ebooks/HTML/e/easton/ebd/ \ |
62 |
+ -s "Easton's 1897 Bible Dictionary" easton || die |
63 |
+ |
64 |
+ dictzip -v easton.dict || die |
65 |
+ |
66 |
+ dictfmt -h \ |
67 |
+ -u ftp://ccel.wheaton.edu/ebooks/HTML/bible_names/bible_names.txt \ |
68 |
+ -s "Hitchcock's Bible Names Dictionary (late 1800's)" \ |
69 |
+ hitchcock < bible_names.txt || die |
70 |
+ |
71 |
+ dictzip -v hitchcock.dict || die |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ insinto "/usr/share/dict" |
76 |
+ doins hitchcock.{index,dict.dz} |
77 |
+ doins easton.{index,dict.dz} |
78 |
+ dodoc "easton/easton-info.txt" |
79 |
+} |
80 |
|
81 |
diff --git a/app-dicts/dictd-misc/metadata.xml b/app-dicts/dictd-misc/metadata.xml |
82 |
new file mode 100644 |
83 |
index 000000000..d2b2c8ce9 |
84 |
--- /dev/null |
85 |
+++ b/app-dicts/dictd-misc/metadata.xml |
86 |
@@ -0,0 +1,9 @@ |
87 |
+<?xml version="1.0" encoding="UTF-8"?> |
88 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
89 |
+<pkgmetadata> |
90 |
+ <maintainer type="person"> |
91 |
+ <description>co-maintainers welcome</description> |
92 |
+ <email>lssndrbarbieri@×××××.com</email> |
93 |
+ <name>Alessandro Barbieri</name> |
94 |
+ </maintainer> |
95 |
+</pkgmetadata> |