mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-dicts/dictd-misc: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
2
app-dicts/dictd-misc/Manifest
Normal file
2
app-dicts/dictd-misc/Manifest
Normal file
@@ -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
|
||||
48
app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild
Normal file
48
app-dicts/dictd-misc/dictd-misc-1.5_alpha2.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
9
app-dicts/dictd-misc/metadata.xml
Normal file
9
app-dicts/dictd-misc/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user