Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-libs/solo-udev-rules/
Date: Thu, 23 Apr 2020 13:16:12
Message-Id: 1587643469.7bc16263f88dbf01328625af814b277b722f8e10.andrewammerlaan@gentoo
1 commit: 7bc16263f88dbf01328625af814b277b722f8e10
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Thu Apr 23 12:04:29 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Thu Apr 23 12:04:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7bc16263
7
8 sys-libs/solo-udev-rules: Revbump 4.0.0-r1; Add missing pkg_postrm().
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 .../solo-udev-rules-4.0.0-r1.ebuild | 41 ++++++++++++++++++++++
13 1 file changed, 41 insertions(+)
14
15 diff --git a/sys-libs/solo-udev-rules/solo-udev-rules-4.0.0-r1.ebuild b/sys-libs/solo-udev-rules/solo-udev-rules-4.0.0-r1.ebuild
16 new file mode 100644
17 index 0000000..8accaf7
18 --- /dev/null
19 +++ b/sys-libs/solo-udev-rules/solo-udev-rules-4.0.0-r1.ebuild
20 @@ -0,0 +1,41 @@
21 +# Copyright 2020 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +inherit udev
27 +
28 +MY_P="solo-${PV}"
29 +DESCRIPTION="udev rules for the Solo FIDO2 & U2F USB+NFC security key"
30 +HOMEPAGE="
31 + https://solokeys.com/
32 + https://github.com/solokeys/solo
33 +"
34 +SRC_URI="https://github.com/solokeys/solo/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
35 +
36 +LICENSE="|| ( Apache-2.0 MIT )"
37 +SLOT="0"
38 +KEYWORDS="~amd64"
39 +IUSE=""
40 +
41 +RDEPEND="virtual/udev"
42 +DEPEND="${RDEPEND}"
43 +
44 +S="${WORKDIR}/${MY_P}"
45 +
46 +src_compile() {
47 + # Omitting src_compile() would invoke make, leaving it empty is not allowed.
48 + echo -n
49 +}
50 +
51 +src_install() {
52 + udev_dorules udev/70-solokeys-access.rules
53 +}
54 +
55 +pkg_postinst() {
56 + udev_reload
57 +}
58 +
59 +pkg_postrm() {
60 + udev_reload
61 +}