upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / iio-sensor-proxy / trunk / PKGBUILD
bloba2dd4258e1c86a7269e45d0f714f29cbcc99ede5
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
8 pkgver=3.4
9 pkgrel=1
10 pkgdesc='IIO accelerometer sensor to input device proxy'
11 arch=('x86_64')
12 url='https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/'
13 license=('GPL2')
14 depends=('systemd' 'libgudev' 'gtk3' 'polkit')
15 makedepends=('meson')
16 checkdepends=('python-gobject' 'python-dbusmock' 'python-psutil' 'umockdev')
17 source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
18 sha512sums=('2067c89ca47b4be57f68b5c15b5accdfe50e4f266a3fa11d4690745db8dd1e8e647ffde4306524cdb5faaef215a6bd529a646f1703d9e9ba529688d2b32de14d')
20 build() {
21   mkdir $pkgname-$pkgver/build
22   cd $pkgname-$pkgver/build
24   arch-meson .. \
25     -Dsystemdsystemunitdir=/usr/lib/systemd/system \
26     -Dudevrulesdir=/usr/lib/udev/rules.d \
27     -Dsysconfdir=/usr/share
29   ninja
32 check() {
33   cd $pkgname-$pkgver/build
35   ninja test
38 package() {
39   cd $pkgname-$pkgver/build
41   DESTDIR="$pkgdir" ninja install