aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-07-17 04:58:15 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-07-18 23:46:19 +0200
commitf6d48ea29a5d20d3138f45e72460bd2afa85c731 (patch)
treef2e881d067c3137ec2b693643e896b79a87dd001 /app-dicts
parentapp-dicts/dictd-meta: initial import (diff)
downloadguru-f6d48ea29a5d20d3138f45e72460bd2afa85c731.tar.gz
guru-f6d48ea29a5d20d3138f45e72460bd2afa85c731.tar.bz2
guru-f6d48ea29a5d20d3138f45e72460bd2afa85c731.zip
app-dicts/dictd-misc: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/dictd-misc/Manifest2
-rw-r--r--app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild48
-rw-r--r--app-dicts/dictd-misc/metadata.xml9
3 files changed, 59 insertions, 0 deletions
diff --git a/app-dicts/dictd-misc/Manifest b/app-dicts/dictd-misc/Manifest
new file mode 100644
index 000000000..013b78b4b
--- /dev/null
+++ b/app-dicts/dictd-misc/Manifest
@@ -0,0 +1,2 @@
+DIST dict-misc_1.5A-2.diff.gz 4765 BLAKE2B 79df500281d1b354480457beb540c061b92c99a8dccc693169159440f2b1b5cb1b4bb184c374bc55a2d1e49ad1713c3ceb66fd2871e64d50ae79e1c7b625680f SHA512 56df697c138cf5f2002df30911b8811e94a6d389610c8961f9371de95c6425bbeb5c8abec42d79efde87643df2e59d43c0bf0fb0a5ec06f4564e9c25c62d0637
+DIST dict-misc_1.5A.orig.tar.gz 1097766 BLAKE2B ee29fcfb42b689d6818128f8cfc0dc1c74cc8522808e9bae14888c1fb9a95aee69504f2900e58cbdf21d9437961a0b91a8ff9f7bcf693ecc11180697c71caf47 SHA512 96c8a94cc28be40ee0cd1d102d2a77de0636995765e95cacb9a16d451cb4983e0c0b970f4964fef7c8ebd2cb4d96a44a3e97112f66646995b3ff64f0ad6d07f3
diff --git a/app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild b/app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild
new file mode 100644
index 000000000..8285ac760
--- /dev/null
+++ b/app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYPV="${PV/_alpha/A-}"
+MYPV2="$(ver_cut 1-3 ${MYPV} )"
+
+DESCRIPTION="Hitchcock's and Easton's Bible Dictionaries"
+HOMEPAGE="http://www.dict.org"
+SRC_URI="
+ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dict-misc/${MYPV}/dict-misc_${MYPV2}.orig.tar.gz
+ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dict-misc/${MYPV}/dict-misc_${MYPV}.diff.gz
+"
+S="${WORKDIR}/dict-misc-${MYPV2}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND=">=app-text/dictd-1.13.0-r3"
+RDEPEND="${BDEPEND}"
+
+PATCHES=( "${WORKDIR}/dict-misc_${MYPV}.diff" )
+
+src_compile() {
+ cat easton/easton-info.txt easton/T*.html \
+ | sed 's,<A HREF=[^>]*>\([^<]*\).*</A>,{\1},g' \
+ | sed 's,\([A-Z][A-Z]*\) .T000[0-9]*,{\1},g' \
+ | dictfmt -e \
+ -u ftp://ccel.wheaton.edu/ebooks/HTML/e/easton/ebd/ \
+ -s "Easton's 1897 Bible Dictionary" easton || die
+
+ dictzip -v easton.dict || die
+
+ dictfmt -h \
+ -u ftp://ccel.wheaton.edu/ebooks/HTML/bible_names/bible_names.txt \
+ -s "Hitchcock's Bible Names Dictionary (late 1800's)" \
+ hitchcock < bible_names.txt || die
+
+ dictzip -v hitchcock.dict || die
+}
+
+src_install() {
+ insinto "/usr/share/dict"
+ doins hitchcock.{index,dict.dz}
+ doins easton.{index,dict.dz}
+ dodoc "easton/easton-info.txt"
+}
diff --git a/app-dicts/dictd-misc/metadata.xml b/app-dicts/dictd-misc/metadata.xml
new file mode 100644
index 000000000..d2b2c8ce9
--- /dev/null
+++ b/app-dicts/dictd-misc/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <description>co-maintainers welcome</description>
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+</pkgmetadata>