1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Library for sending desktop notifications"
8 url="https://gitlab.gnome.org/GNOME/libnotify"
12 makedepends=(gtk3 gobject-introspection git meson docbook-xsl xmlto gtk-doc)
14 _commit=e8a57f7245434603a0fda8b0b6a30017f08ce1e4 # tags/0.7.11^0
15 source=("git+$url.git#commit=$_commit")
20 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
28 arch-meson $pkgname build
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 depends+=(libg{lib,object,io}-2.0.so libgdk_pixbuf-2.0.so)
38 provides+=(libnotify.so)
40 meson install -C build --destdir "$pkgdir"