summaryrefslogtreecommitdiffstats
path: root/app-dicts/ispell-de/ispell-de-20161207.ebuild
blob: 5fb1d961e69710e6bb0b5eb58ee7da46b5ff9c50 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2020 Gentoo Authors and Martin V\"ath
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

# Don't use Gentoo mirrors
RESTRICT="mirror"

MY_P=igerman98-${PV}

DESCRIPTION="German and Swiss dictionaries for ispell"
HOMEPAGE="http://j3e.de/ispell/igerman98/"
SRC_URI="http://j3e.de/ispell/igerman98/dict/${MY_P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 hppa mips ppc sparc x86"

BDEPEND="app-text/ispell:="
RDEPEND="${BDEPEND}"

S=${WORKDIR}/${MY_P}

src_compile() {
	for lang in de_DE de_AT de_CH; do
		emake ispell/${lang}{.aff,.hash}
	done
}

src_install () {
	insinto /usr/$(get_libdir)/ispell
	for lang in de_DE de_AT de_CH; do
		doins ispell/${lang}{.aff,.hash}
	done

	dodoc Documentation/*
	rm -f -- "${ED}/usr/share/doc/${PF}/GPL"*
}