1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
3 # Contributor: Jan de Groot <jgc@archlinxu.org>
4 # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
5 # Contributor: Tor Krill <tor@krill.nu>
6 # Contributor: Will Rea <sillywilly@gmail.com>
7 # Contributor: Valentine Sinitsyn <e_val@inbox.ru>
10 pkgver=1.18.5dev+12+ga8746f48ca
12 pkgdesc='NetworkManager client library (legacy)'
14 url=https://wiki.gnome.org/Projects/NetworkManager
39 _commit=a8746f48ca088b4cd3799e540b8606df1f1e8522 # nm-1-18
40 source=("git+https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git#commit=$_commit")
45 git describe | sed 's/-dev/dev/;s/-rc/rc/;s/-/+/g'
55 -D dbus_conf_dir=/usr/share/dbus-1/system.d
58 -D dist_version="$pkgver-$pkgrel"
59 -D session_tracking_consolekit=false
60 -D suspend_resume=systemd
69 -D modem_manager=false
77 # configuration plugins
78 -D config_plugins_default=keyfile
88 -D json_validation=false
92 arch-meson NetworkManager build "${meson_args[@]}"
97 DESTDIR="$PWD/install" meson install -C build
101 install/usr/include/{NetworkManager,libnm-glib} \
102 install/usr/lib/girepository-1.0/{NetworkManager,NMClient}-* \
103 install/usr/lib/libnm-* \
104 install/usr/lib/pkgconfig/{NetworkManager,libnm-}* \
105 install/usr/share/gir-1.0/{NetworkManager,NMClient}-* \
106 install/usr/share/vala/vapi/libnm-*
108 dst="$pkgdir/${src#install/}"