summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdebase-pam/tdebase-pam-7.ebuild
blob: 6c3e92d6c9ed4607158aa7bc0024fca1f4b55700 (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

inherit pam

DESCRIPTION="pam.d files used by several Trinity components"
HOMEPAGE="https://trinitydesktop.org/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="elogind"

DEPEND="sys-libs/pam"
RDEPEND="${DEPEND}"

S="${WORKDIR}"

src_install() {
	if use elogind ; then
		newpamd "${FILESDIR}/tde-elogind.pam-${PV}" tde
	else
		newpamd "${FILESDIR}/tde.pam-${PV}" tde
	fi
	newpamd "${FILESDIR}/tde-np.pam-6" tde-np
}