From 4ff3480c9a371cd2a1da249515cf39ea1c25acfc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 10 Nov 2011 13:00:48 +0100 Subject: [PATCH] udisks: update for new systemd_services arg, use make_dirs. --- srcpkgs/udisks/template | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/srcpkgs/udisks/template b/srcpkgs/udisks/template index 88c29911fcb..88d8bb71e56 100644 --- a/srcpkgs/udisks/template +++ b/srcpkgs/udisks/template @@ -1,7 +1,7 @@ # Template file for 'udisks' pkgname=udisks version=1.0.4 -revision=2 +revision=3 distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz" build_style=gnu-configure configure_args="--disable-static --enable-lvm2" @@ -20,7 +20,8 @@ long_desc=" The actions that a user can perform using udisks are restricted using 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 glib @@ -49,13 +50,11 @@ Add_dependency build dbus-glib-devel Add_dependency build libgudev-devel Add_dependency build sg3_utils-devel -pre_build() -{ +pre_build() { # Fix location for bash completion stuff. sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile } -post_install() -{ +post_install() { vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system }