sys-libs/solo-udev-rules: New package.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2020-04-23 01:19:57 +02:00
parent 0c82ef2527
commit d395466f9b
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST solo-4.0.0.tar.gz 1173865 BLAKE2B 1a2d62daf46d3a4a90a65d5034912b048c63a8f6fd3f4dde76fcb3c283d679bc96a7d3cf92945f6c6817f7e505cb540c4264f83ea7db872aa1b3daad864275ac SHA512 210ef65f0b667f0a0c6c096f5f1346574ba70e6f8476e8657ac4c862cbd75de66b644aba884dc37773ecbda4ecd0e495dbbdef3febfbc0e43a265435cfc0ea3f

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>Ronny (tastytea) Gutbrod</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/solokeys/solo/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,37 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit udev
MY_P="solo-${PV}"
DESCRIPTION="udev rules for the Solo FIDO2 & U2F USB+NFC security key"
HOMEPAGE="
https://solokeys.com/
https://github.com/solokeys/solo
"
SRC_URI="https://github.com/solokeys/solo/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="virtual/udev"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
src_compile() {
# Omitting src_compile() would invoke make, leaving it empty is not allowed.
echo -n
}
src_install() {
udev_dorules udev/70-solokeys-access.rules
}
pkg_postinst() {
udev_reload
}