summaryrefslogtreecommitdiff
blob: 47f9bc1268267ad5d7b784d03b46e94ea232aaf4 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

ASPELL_LANG="Russian"
ASPELL_VERSION=6
MY_PV="$(ver_cut 1-2)f7-$(ver_cut 3)"
MY_P="${PN/aspell/aspell${ASPELL_VERSION}}-${MY_PV}"

inherit aspell-dict-r1

SRC_URI="mirror://gnu/${PN%-*}/dict/${PN/aspell-/}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"

src_prepare() {
	default

	# Setting default dictionary to ru-yeyo
	cp -v ru-yeyo.multi ru.multi || die
}