32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'usbguard'
|
|
pkgname=usbguard
|
|
version=0.7.6
|
|
revision=2
|
|
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=7234d5a30b964eb4cd3564d645e24c23454dca376345c96635484d4534d2f03f
|
|
|
|
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
|
|
}
|
|
}
|