1 # Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
6 pkgdesc="GObject bindings for libudev"
7 url="https://wiki.gnome.org/Projects/libgudev"
10 depends=(systemd glib2)
11 makedepends=(gobject-introspection gtk-doc git meson umockdev vala)
13 _commit=dff7a794e55d6ad7a10e8edacd73aa047593e74c # tags/237^0
14 source=("git+https://gitlab.gnome.org/GNOME/libgudev.git#commit=$_commit")
19 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
25 # Use a locale with "," decimal separator that we
26 # actually have available in the build environments
27 sed -e 's/fr_FR\.UTF-8/de_DE.UTF-8/g' \
28 -i tests/meson.build tests/test-double.c
32 arch-meson libgudev build -D gtk_doc=true
33 meson compile -C build
37 meson test -C build --print-errorlogs
41 depends+=(libg{lib,object}-2.0.so libudev.so)
42 provides+=(libgudev-1.0.so)
44 meson install -C build --destdir "$pkgdir"
47 # vim:set ts=2 sw=2 et: