# Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=libsecret pkgver=0.20.3 pkgrel=0 pkgdesc="Library for storing and retrieving passwords and other secrets" url="https://wiki.gnome.org/Projects/Libsecret" arch="all" license="LGPL-2.0-or-later" makedepends="glib-dev intltool libxslt-dev docbook-xsl libgcrypt-dev gobject-introspection-dev vala meson" checkdepends="py3-dbus py3-gobject3 xvfb-run dbus-x11" options="!check" # gjs is in community now subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/libsecret/${pkgver%.*}/libsecret-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --default-library=both \ --buildtype=plain \ -Dgtk_doc=false \ output ninja -C output } check() { xvfb-run ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="020e1954e0965f33ee15f35e1f439b6c1650322a9112078f7a3e265cee83ad99d217ae3b363fbadc06c5cb0941f7e544d91da72e5be1c6b96992c071e6170c22 libsecret-0.20.3.tar.xz"