# Contributor: Carlo Landmeter # Maintainer: pkgname=accountsservice pkgver=0.6.35 pkgrel=0 pkgdesc="D-Bus interface for user account query and manipulation" url="http://www.freedesktop.org/software/accountsservice/" arch="all" license="GPL3" depends="" depends_dev="glib-dev gobject-introspection-dev polkit-dev" makedepends="$depends_dev intltool" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz" _builddir="$srcdir"/accountsservice-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-systemd \ --enable-introspection=yes \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/lib/*.la } md5sums="3a81133e95faafb603de4475802cb06a accountsservice-0.6.35.tar.xz" sha256sums="65a1c7013c9c6785c7feb710ee940bb297207dabdb93561fdfdd140e0dfd3038 accountsservice-0.6.35.tar.xz" sha512sums="902833564952fe80ee4cb27b018ae21299e7e68a6bf41d5fd05bf6cf313bb7398922e651007beaa77ede2255533d25456b843e2dad912a1dada07d5005c7e811 accountsservice-0.6.35.tar.xz"