accountsservice: own required runtime dirs.

This commit is contained in:
Juan RP 2011-11-09 17:19:54 +01:00
parent 22558037ec
commit c1b01b7ed5

View file

@ -1,6 +1,7 @@
# Template file for 'accountsservice'
pkgname=accountsservice
version=0.6.15
revision=1
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--with-systemdsystemunitdir=/lib/systemd/system"
@ -14,7 +15,6 @@ long_desc="
querying and manipulating user account information and an implementation
of these interfaces, based on the useradd, usermod and userdel commands."
keep_empty_dirs=yes
systemd_services="accounts-daemon.service"
subpackages="$pkgname-devel"
@ -29,3 +29,10 @@ Add_dependency build intltool
Add_dependency build gobject-introspection
Add_dependency build dbus-glib-devel
Add_dependency build polkit-devel
post_install() {
for d in users icons; do
vmkdir var/lib/AccountsService/${d}
touch ${DESTDIR}/var/lib/AccountsService/${d}/.owned
done
}