libu2f-host: fix udev rules
This commit is contained in:
parent
a520f2a8d4
commit
ab6f5992a4
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libu2f-host'
|
||||
pkgname=libu2f-host
|
||||
version=1.1.3
|
||||
revision=4
|
||||
revision=5
|
||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-openssl=yes --with-udevrulesdir=/usr/lib/udev/rules.d"
|
||||
|
@ -15,10 +15,13 @@ distfiles="https://github.com/Yubico/libu2f-host/archive/libu2f-host-${version}.
|
|||
checksum=2e43679655bbfe3bb1dfee16bb6c2a324d22c7907071a8703f5195eafe891e27
|
||||
|
||||
pre_configure() {
|
||||
sed -i 's|TAG+="uaccess"|TAG+="uaccess", MODE="0664", GROUP="users"|g' 70-u2f.rules # fix for eudev
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
sed -i 's:TAG+="uaccess":MODE="0660", GROUP="plugdev":' ${DESTDIR}/usr/lib/udev/rules.d/70-u2f.rules
|
||||
}
|
||||
|
||||
libu2f-host-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in a new issue