From 2d62ade5a3382b7a345466e1485ec88dbde03abc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 10 Nov 2011 11:17:14 +0100 Subject: [PATCH] upower: update for new systemd_services arg. --- srcpkgs/upower/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/upower/template b/srcpkgs/upower/template index 081781a608e..3614d02ca63 100644 --- a/srcpkgs/upower/template +++ b/srcpkgs/upower/template @@ -1,7 +1,7 @@ # Template file for 'upower' pkgname=upower version=0.9.14 -revision=1 +revision=2 homepage="http://upower.freedesktop.org" distfiles="${homepage}/releases/$pkgname-$version.tar.xz" build_style=gnu-configure @@ -17,7 +17,7 @@ long_desc=" message bus. Some operations (such as suspending the system) are restricted using PolicyKit." -systemd_services="upowerd.service" +systemd_services="upowerd.service on" conf_files="/etc/UPower/UPower.conf" subpackages="upower-devel" @@ -43,7 +43,6 @@ Add_dependency build polkit-devel Add_dependency full udev Add_dependency full pm-utils -post_install() -{ +post_install() { vinstall ${FILESDIR}/upowerd.service 644 lib/systemd/system }