summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 219579aeb170b5f2ab5e8a89a82a733724ba90d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Faerbit <faerbit at gmail dot com>

pkgname=usbguard-notifier
pkgver=0.1.1
pkgrel=1
pkgdesc="A tool for detecting usbguard policy and device presence changes"
arch=('x86_64')
url="https://github.com/Cropi/usbguard-notifier"
license=('GPL-2.0-only')
depends=('usbguard' 'libnotify' 'librsvg')
makedepends=('catch2-v2' 'asciidoc')
source=("https://github.com/Cropi/usbguard-notifier/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
md5sums=('SKIP'
         'SKIP')

validpgpkeys=('42363D1C30A574A4EE5D9C87E650CBBFEF3AAC4B') # alakatos at redhat dot com

build() {
        cd "$srcdir/$pkgname-$pkgver"
        ./configure CPPFLAGS=-I/usr/include/catch2 --prefix=/usr
        make
}

package() {
        cd "$srcdir/$pkgname-$pkgver"
        make DESTDIR="$pkgdir/" install
}