summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild (renamed from sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild)12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild
index ff1865e975e8..1f0ef021b4cf 100644
--- a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild
+++ b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
DESCRIPTION="Rules for polkit to add compatibility with pklocalauthority"
HOMEPAGE="https://pagure.io/polkit-pkla-compat"
@@ -10,22 +10,20 @@ SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc x86"
-IUSE=""
RDEPEND=">=dev-libs/glib-2.30
>=sys-auth/polkit-0.110"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
virtual/pkgconfig"
-DOCS="AUTHORS NEWS README"
-
src_install() {
default
fowners -R root:polkitd /etc/polkit-1/localauthority
}
pkg_postinst() {
- chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority
+ chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority || die
}