blob: 1d805cfd7727a78598929c7a62f90a538f981a12 (
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
30
31
32
33
34
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit udev
DESCRIPTION="udev rules for Nitrokey devices"
HOMEPAGE="https://github.com/Nitrokey/nitrokey-udev-rules"
SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
virtual/udev
"
src_configure() { :; }
src_compile() { :; }
src_install() {
udev_dorules 41-nitrokey.rules
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}
|