1 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
2 # Contributor: Eric Lehmann <katyl@katyl.info>
3 # Contributor: Thomas Fanninger <thomas@fanninger.at>
4 # Contributor: ultraviolet <ultravioletnanokitty@gmail.com>
5 # Contributor: Pablo Lezeta <prflr88@gmail.com>
7 pkgname=iio-sensor-proxy
10 pkgdesc='IIO accelerometer sensor to input device proxy'
12 url='https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/'
14 depends=('systemd' 'libgudev' 'gtk3' 'polkit')
16 checkdepends=('python-gobject' 'python-dbusmock' 'python-psutil' 'umockdev')
17 source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
18 sha512sums=('2067c89ca47b4be57f68b5c15b5accdfe50e4f266a3fa11d4690745db8dd1e8e647ffde4306524cdb5faaef215a6bd529a646f1703d9e9ba529688d2b32de14d')
21 mkdir $pkgname-$pkgver/build
22 cd $pkgname-$pkgver/build
25 -Dsystemdsystemunitdir=/usr/lib/systemd/system \
26 -Dudevrulesdir=/usr/lib/udev/rules.d \
27 -Dsysconfdir=/usr/share
33 cd $pkgname-$pkgver/build
39 cd $pkgname-$pkgver/build
41 DESTDIR="$pkgdir" ninja install