void-packages/srcpkgs/usbguard/template

21 lines
868 B
Bash

# Template file for 'usbguard'
pkgname=usbguard
version=0.7.5
revision=1
build_style=gnu-configure
configure_args="--with-crypto-library=sodium --with-bundled-catch --with-bundled-pegtl"
conf_files="/etc/usbguard/*"
make_dirs="/var/log/usbguard 0755 root root"
hostmakedepends="automake libtool pkg-config asciidoc glib-devel protobuf"
makedepends="libqb-devel libsodium-devel protobuf-devel dbus-glib-devel polkit-devel libcap-ng-devel libseccomp-devel"
short_desc="Tool for whitelisting and blacklisting USB devices"
maintainer="Philoponus Bindle <philoponus-bindle@protonmail.com>"
license="GPL-2.0-or-later"
homepage="https://usbguard.github.io"
distfiles="https://github.com/USBGuard/usbguard/releases/download/usbguard-$version/usbguard-$version.tar.gz"
checksum=ab98091969bf4ea68d7a950997cd7af98ddac84558aa6dfe733e8fa0a936454a
post_install() {
vsv usbguard
}