void-packages/srcpkgs/u2f-hidraw-policy/template

20 lines
575 B
Bash

# Template file for 'u2f-hidraw-policy'
pkgname=u2f-hidraw-policy
version=1.0.2
revision=1
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"
homepage="https://github.com/amluto/u2f-hidraw-policy"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=50e327a9df3dd3db3b292af41fb119cc4c8d9bc29abddfb442e972053bf5e6d1
post_install() {
vmkdir usr
cp -r "${DESTDIR}/lib" "${DESTDIR}/usr"
rm -rf "${DESTDIR}/lib"
}