commit:     934d766ed30001e2ccd3f142a7469a8cfde924bf
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 16 16:45:44 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 07:27:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934d766e

app-dicts/dictd-vera: move data to /usr/share

Bug: https://bugs.gentoo.org/790383
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20842
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-dicts/dictd-vera/dictd-vera-1.24-r1.ebuild | 32 ++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/app-dicts/dictd-vera/dictd-vera-1.24-r1.ebuild 
b/app-dicts/dictd-vera/dictd-vera-1.24-r1.ebuild
new file mode 100644
index 00000000000..57e23417d5e
--- /dev/null
+++ b/app-dicts/dictd-vera/dictd-vera-1.24-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="V.E.R.A. -- Virtual Entity of Relevant Acronyms for dict"
+HOMEPAGE="http://home.snafu.de/ohei/vera/vueber-e.html";
+SRC_URI="mirror://gnu/vera/vera-${PV}.tar.gz"
+S="${WORKDIR}/vera-${PV}"
+SLOT="0"
+LICENSE="FDL-1.3"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND=">=app-text/dictd-1.5.5"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-U+D7.patch" )
+
+src_compile() {
+       cat vera.[0-9a-z] | dictfmt -f -u http://home.snafu.de/ohei \
+               -s "V.E.R.A. -- Virtual Entity of Relevant Acronyms" \
+               vera || die
+       dictzip -v vera.dict || die
+}
+
+src_install() {
+       insinto /usr/share/dict
+       doins vera.dict.dz
+       doins vera.index
+
+       dodoc changelog README
+}

Reply via email to