blob: 9737aa20b2b384e1d477c3645e2449fc041fe64e (
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
40
41
42
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
if [[ ${PV} = 99999999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/gentoo/gentoo.git"
S="${WORKDIR}/${P}/eclass"
else
# Instructions to make a dist tarball:
# cd /path/to/gentoo-repo
# P=eclass-manpages-$(TZ=UTC git log -1 --pretty="%cd" \
# --date="format-local:%Y%m%d" -- eclass)
# tar -cJf ${P}.tar.xz --transform="s:^eclass/:${P}/:" eclass/*.eclass
SRC_URI="https://distfiles.gentoo.org/pub/proj/qa/${PN}/${P}.tar.xz"
# Keep the keywords stable. No need to change to ~arch.
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
fi
DESCRIPTION="Collection of Gentoo eclass manpages"
HOMEPAGE="https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass"
LICENSE="GPL-2"
SLOT="0"
BDEPEND=">=sys-apps/pkgcore-0.12.42"
if [[ ${PV} = 99999999 ]]; then
src_unpack() {
git-r3_fetch
git-r3_checkout "" "" "" "eclass/*.eclass"
}
fi
src_compile() {
edo pmaint --config=no eclass -f man -o "{eclass}.eclass.5" *.eclass
}
src_install() {
doman *.5
}
|