1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
7 pkgdesc="A library to handle UPnP IGD port mapping"
8 url="https://wiki.gnome.org/Projects/GUPnP"
12 makedepends=(gobject-introspection git gtk-doc meson)
13 _commit=a0aafc79ac8e258f849cdb2924cb11ec9162d0c5 # tags/1.2.0-correct^0
14 source=("git+https://gitlab.gnome.org/GNOME/gupnp-igd.git#commit=$_commit")
19 git describe --tags | sed 's/-correct//;s/-/+/g'
27 arch-meson $pkgname build -D gtk_doc=true
28 meson compile -C build
32 meson test -C build --print-errorlogs
36 depends+=(libg{lib,object,io}-2.0.so libg{ssdp,upnp}-1.2.so)
37 provides+=(libgupnp-igd-1.0.so)
39 meson install -C build --destdir "$pkgdir"