udisks: update for new systemd_services arg, use make_dirs.

This commit is contained in:
Juan RP 2011-11-10 13:00:48 +01:00
parent e462d97a98
commit 4ff3480c9a

View file

@ -1,7 +1,7 @@
# Template file for 'udisks' # Template file for 'udisks'
pkgname=udisks pkgname=udisks
version=1.0.4 version=1.0.4
revision=2 revision=3
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz" distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-lvm2" configure_args="--disable-static --enable-lvm2"
@ -20,7 +20,8 @@ long_desc="
The actions that a user can perform using udisks are restricted using The actions that a user can perform using udisks are restricted using
PolicyKit." PolicyKit."
systemd_services="udisks.service" systemd_services="udisks.service on"
make_dirs="/var/lib/udisks 0750 root root"
Add_dependency run glibc Add_dependency run glibc
Add_dependency run glib Add_dependency run glib
@ -49,13 +50,11 @@ Add_dependency build dbus-glib-devel
Add_dependency build libgudev-devel Add_dependency build libgudev-devel
Add_dependency build sg3_utils-devel Add_dependency build sg3_utils-devel
pre_build() pre_build() {
{
# Fix location for bash completion stuff. # Fix location for bash completion stuff.
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
} }
post_install() post_install() {
{
vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system
} }