# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=libgnome-keyring
pkgver=3.12.0
pkgrel=0
pkgdesc="Gnome library for secure authentication storage"
url="https://gnome.org"
arch="all"
options="!check"  # Test suite requires py-dbus.
license="GPL-2.0+ AND LGPL-2.1+ AND LGPL-2.0+"
depends=""
makedepends="dbus-dev dbus-glib-dev gobject-introspection-dev intltool
	libgcrypt-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/libgnome-keyring/${pkgver%.*}/libgnome-keyring-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="dd1777b6e0dd774feb86dbc72d9f2a85f2143e2772a09c438b84aec468ddc5e7ee5ebd534d24f079e5daf4757f2918d0621e26fb671fde0fcef9c74d30f8b9bd  libgnome-keyring-3.12.0.tar.xz"