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

EAPI=7

MY_PV="$(ver_rs 2- -)"

DESCRIPTION="A collection of Russian translations of Linux manual pages"
HOMEPAGE="http://man-pages-ru.sourceforge.net/"
SRC_URI="https://download.sourceforge.net/${PN}/source-tar/${PN}_${MY_PV}.tar.bz2"

LICENSE="FDL-1.3"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"

RDEPEND="virtual/man"

S="${WORKDIR}/${PN}_${MY_PV}"

src_prepare() {
	default
	# Remove man page provided by sys-apps/shadow
	rm man5/passwd.5 || die
}

src_install() {
	insinto /usr/share/man/ru
	doins -r man*
	dodoc README
}