# Template file for 'accountsservice'
pkgname=accountsservice
version=0.6.24
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-systemdsystemunitdir=/usr/lib/systemd/system"
makedepends="pkg-config intltool gobject-introspection polkit-devel systemd-devel"
subpackages="$pkgname-devel"
short_desc="D-Bus interfaces for querying and manipulating user account information"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://cgit.freedesktop.org/accountsservice/"
license="GPL-3"
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
checksum=f2c0886c5d6d80453eebd4a91e6081231cde6cc436d55b9425d2cc0332a85623
long_desc="
 The accountsservice project provides a set of D-Bus interfaces for
 querying and manipulating user account information and an implementation
 of these interfaces, based on the useradd, usermod and userdel commands."

post_install() {
	for d in users icons; do
		vmkdir var/lib/AccountsService/${d}
		touch ${DESTDIR}/var/lib/AccountsService/${d}/.owned
	done
}
