Commit 6ecf9e98 authored by Lucas Ramage's avatar Lucas Ramage 🖥
Browse files

testing/usbguard: new aport

https://usbguard.github.io
A USB device whitelisting tool
parent c081d5fc
Pipeline #9322 failed with stages
in 2 minutes and 35 seconds
# Contributor: Lucas Ramage <ramage.lucas@protonmail.com>
# Maintainer: Lucas Ramage <ramage.lucas@protonmail.com>
pkgname=usbguard
pkgver=0.7.6
pkgrel=0
pkgdesc="A USB device whitelisting tool"
url="https://usbguard.github.io"
arch="all"
license="GPL-2.0-or-later"
makedepends="autoconf automake asciidoctor libtool libqb-dev libsodium-dev protobuf-dev"
options="!check"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/USBGuard/usbguard/archive/usbguard-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
prepare() {
./autogen.sh
}
build() {
qb_CFLAGS=-lqb qb_LIBS=/usr/include/qb/ ./configure \
--prefix=/usr \
--with-bundled-catch \
--with-bundled-pegtl \
--without-dbus \
--without-polkit
make
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="11f17b619a8c3610f0e0037288a3bec2b5ecec7276a16c78f578dec5095fa17c0cf4c58db67fa8f9797034cdf6de41c9170ecd1010b66755d94481e7d26e7edb usbguard-0.7.6.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment