summaryrefslogtreecommitdiff
blob: b0efe465234dc73f903f5519a242f02a3475c527 (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 ~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}
}