libu2f-host: stop shipping udev rules

This commit is contained in:
Đoàn Trần Công Danh 2020-10-16 06:35:19 +07:00
parent cae276a0c3
commit 67da074a05

View file

@ -1,12 +1,13 @@
# Template file for 'libu2f-host'
pkgname=libu2f-host
version=1.1.10
revision=3
revision=4
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
configure_args="--with-openssl=yes --with-udevrulesdir=/usr/lib/udev/rules.d"
configure_args="--with-openssl=yes"
hostmakedepends="automake gengetopt libtool pkg-config"
makedepends="hidapi-devel json-c-devel libressl-devel"
depends="libfido2"
short_desc="C library and tool that implements the host-side of the U2F protocol"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, GPL-3.0-or-later"
@ -14,17 +15,11 @@ homepage="https://developers.yubico.com/libu2f-host/"
#changelog="https://raw.githubusercontent.com/Yubico/libu2f-host/master/NEWS"
distfiles="https://github.com/Yubico/libu2f-host/archive/libu2f-host-${version}.tar.gz"
checksum=45937c6c04349f865d9f047d3a68cc50ea24e9085d18ac2c7d31fa38eb749303
conf_files="/usr/lib/udev/rules.d/70-u2f.rules"
pre_configure() {
autoreconf -fi
}
post_install() {
vsed -e 's:GROUP="plugdev":GROUP="users":' \
-i ${DESTDIR}/usr/lib/udev/rules.d/70-u2f.rules
}
libu2f-host-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"