sys-apps/udevil: Use acct-group/plugdev
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Sep 2019 12:16:18 +0000 (14:16 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Sep 2019 12:42:51 +0000 (14:42 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-apps/udevil/udevil-0.4.4-r3.ebuild

index 0dede83db0ee98893860411fa7ab2165986d0738..fdae0cfa0d3d3f2166fa7667421e58017a2a9f6d 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit autotools user
+inherit autotools
 
 DESCRIPTION="mount and unmount removable devices without a password"
 HOMEPAGE="https://ignorantguru.github.com/udevil/"
@@ -14,7 +14,9 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-RDEPEND=">=app-shells/bash-4.0:*
+RDEPEND="
+       acct-group/plugdev
+       >=app-shells/bash-4.0:*
        dev-libs/glib:2
        sys-apps/util-linux
        virtual/acl
@@ -24,10 +26,6 @@ DEPEND="${RDEPEND}
        sys-devel/gettext
        virtual/pkgconfig"
 
-pkg_setup(){
-       enewgroup plugdev
-}
-
 PATCHES=(
        # This works for 0.4.4 too, no sense copying the patch
        "${FILESDIR}"/${PN}-0.4.3-flags.patch