21 lines
602 B
Bash
21 lines
602 B
Bash
# Template file for 'u2f-hidraw-policy'
|
|
pkgname=u2f-hidraw-policy
|
|
version=1.0.2
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="eudev-libudev-devel"
|
|
short_desc="Udev helper and rule to identify U2F tokens"
|
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://github.com/amluto/u2f-hidraw-policy"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=50e327a9df3dd3db3b292af41fb119cc4c8d9bc29abddfb442e972053bf5e6d1
|
|
patch_args=-Np0
|
|
|
|
post_install() {
|
|
vmkdir usr
|
|
cp -r "${DESTDIR}/lib" "${DESTDIR}/usr"
|
|
rm -rf "${DESTDIR}/lib"
|
|
}
|