accountsservice: own required runtime dirs.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# Template file for 'accountsservice'
|
# Template file for 'accountsservice'
|
||||||
pkgname=accountsservice
|
pkgname=accountsservice
|
||||||
version=0.6.15
|
version=0.6.15
|
||||||
|
revision=1
|
||||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-systemdsystemunitdir=/lib/systemd/system"
|
configure_args="--with-systemdsystemunitdir=/lib/systemd/system"
|
||||||
@@ -14,7 +15,6 @@ long_desc="
|
|||||||
querying and manipulating user account information and an implementation
|
querying and manipulating user account information and an implementation
|
||||||
of these interfaces, based on the useradd, usermod and userdel commands."
|
of these interfaces, based on the useradd, usermod and userdel commands."
|
||||||
|
|
||||||
keep_empty_dirs=yes
|
|
||||||
systemd_services="accounts-daemon.service"
|
systemd_services="accounts-daemon.service"
|
||||||
subpackages="$pkgname-devel"
|
subpackages="$pkgname-devel"
|
||||||
|
|
||||||
@@ -29,3 +29,10 @@ Add_dependency build intltool
|
|||||||
Add_dependency build gobject-introspection
|
Add_dependency build gobject-introspection
|
||||||
Add_dependency build dbus-glib-devel
|
Add_dependency build dbus-glib-devel
|
||||||
Add_dependency build polkit-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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user