# Contributor: Leo # Maintainer: Natanael Copa pkgname=libnotify pkgver=0.7.8 pkgrel=0 pkgdesc="Desktop notification library" url="https://developer.gnome.org/notification-spec/" arch="all" options="!check" # Test requires X11. license="LGPL-2.1-or-later" subpackages="$pkgname-dev $pkgname-doc" makedepends="meson gdk-pixbuf-dev dbus-dev gtk+3.0-dev gobject-introspection-dev xmlto" source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" build() { cd "$builddir" meson \ --prefix=/usr \ -Dtests=true \ -Dintrospection=enabled \ -Dgtk_doc=false \ output ninja -C output } check() { ninja -C output test } package() { cd "$builddir" DESTDIR="$pkgdir" ninja -C output install } sha512sums="9973d7a1af5dd7cfbaa0d0d2c9e72a40df9d814967fde47e95763a69690cc4ed32ecf713d75f91f3dff99a693eff9dab963be124e0530ebf231d517a44e75e94 libnotify-0.7.8.tar.xz"