summaryrefslogtreecommitdiff
path: root/dev-util/uinput-udev-rules/uinput-udev-rules-1.ebuild
blob: 1dc7aba81e84e38d28a81c080a1bfdd24bc7bf81 (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 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit udev

DESCRIPTION="Udev rules to allow local access to uinput"
HOMEPAGE="https://git.terinstock.com/ebuilds.git"
S="${WORKDIR}"

LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64"

RESTRICT="test"

RDEPEND="virtual/udev"

src_install() {
	udev_dorules "${FILESDIR}"/40-uinput.rules
}

pkg_postinst() {
	udev_reload
}

pkg_postrm() {
	udev_reload
}