summaryrefslogtreecommitdiff
blob: b8c0e5336c12a79e441a35610972c85300ca1b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit unpacker

DESCRIPTION="WordNet for dict"
HOMEPAGE="https://wordnet.princeton.edu"
SRC_URI="mirror://debian/pool/main/w/wordnet/dict-wn_${PV/_p/-}_all.deb"
S="${WORKDIR}"
LICENSE="Princeton"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~riscv sparc x86"

RDEPEND=">=app-text/dictd-1.5.5"

src_unpack() {
	unpack_deb ${A}
}

src_install() {
	insinto /usr/share/dict
	doins usr/share/dictd/{wn.dict.dz,wn.index}
}