1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="MBIM modem protocol helper library"
7 url="https://www.freedesktop.org/wiki/Software/libmbim/"
10 depends=(glib2 bash systemd)
11 makedepends=(gtk-doc meson git help2man gobject-introspection bash-completion)
12 provides=(libmbim-glib.so)
14 _commit=bcdbc8cba800137377048c2a5db7fe6d5996f48b # tags/1.26.4^0
15 source=("git+https://gitlab.freedesktop.org/mobile-broadband/libmbim.git#commit=$_commit")
20 git describe --tags | sed 's/-rc/rc/;s/[^-]*-g/r&/;s/-/+/g'
28 arch-meson libmbim build -D gtk_doc=true
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"