32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'usbguard'
|
|
pkgname=usbguard
|
|
version=0.7.8
|
|
revision=4
|
|
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 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=45b0bea8a2239f7ff3c5fe0027dfa7ce4641e8996e05cb91640276876b8d85c6
|
|
|
|
post_install() {
|
|
vsv usbguard
|
|
}
|
|
|
|
usbguard-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libqb-devel ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|