# Maintainer: Luca Weiss pkgname=libaccounts-glib pkgver=1.24 pkgrel=0 pkgdesc="GLib-based client library for the accounts database" url="https://gitlab.com/accounts-sso/libaccounts-glib" arch="x86_64" license="LGPL-2.1" depends="" makedepends="meson glib-dev libxml2-dev sqlite-dev gobject-introspection-dev vala py3-gobject3 check-dev gtk-doc" subpackages="$pkgname-dev" source="https://gitlab.com/accounts-sso/$pkgname/-/archive/VERSION_$pkgver/$pkgname-VERSION_$pkgver.tar.gz" builddir="$srcdir/$pkgname-VERSION_$pkgver" options="!check" # Needs D-Bus server prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build meson \ --prefix=/usr \ --buildtype=release \ --sysconfdir=/etc .. ninja } check() { cd "$builddir"/build ninja test } package() { cd "$builddir"/build DESTDIR="$pkgdir" ninja install } sha512sums="d4e6906f642c7a196cb42172f31345f58037d528950bee3af2b8cb388aea386056cbaa22f0e7c604a4e00038b231e9ee455f6a1d48f82344cfc0037ad7251b7c libaccounts-glib-VERSION_1.24.tar.gz"