summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdebase-doc/tdebase-doc-9999.ebuild
blob: f07a8b971b12b56a2168fd0e13655268e4bb70af (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
# Copyright 2023 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

TRINITY_MODULE_NAME="tdebase"
TRINITY_MODULE_TYPE="core"
inherit trinity-meta-2

DESCRIPTION="Documentation for tdebase-derived packages"
if [[ ${PV} != *9999* ]] ; then
	KEYWORDS="~amd64 ~arm64 ~x86"
fi

RDEPEND="
	~trinity-base/khelpcenter-${PV}
"

src_prepare() {
	sed 's/tde_conditional_add_project_docs( BUILD_DOC )/tde_conditional_add_subdirectory( BUILD_DOC doc )/' \
		-i "${S}/CMakeLists.txt" || die
	trinity-meta-2_src_prepare
}

src_install() {
	trinity-meta-2_src_install
	rm -rf "${D}/usr/trinity/14/bin"
	rm -rf "${D}//usr/trinity/14/share/autostart"
}