upower: update for new systemd_services arg.
This commit is contained in:
parent
11a2ceb334
commit
2d62ade5a3
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'upower'
|
# Template file for 'upower'
|
||||||
pkgname=upower
|
pkgname=upower
|
||||||
version=0.9.14
|
version=0.9.14
|
||||||
revision=1
|
revision=2
|
||||||
homepage="http://upower.freedesktop.org"
|
homepage="http://upower.freedesktop.org"
|
||||||
distfiles="${homepage}/releases/$pkgname-$version.tar.xz"
|
distfiles="${homepage}/releases/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -17,7 +17,7 @@ long_desc="
|
||||||
message bus. Some operations (such as suspending the system) are restricted
|
message bus. Some operations (such as suspending the system) are restricted
|
||||||
using PolicyKit."
|
using PolicyKit."
|
||||||
|
|
||||||
systemd_services="upowerd.service"
|
systemd_services="upowerd.service on"
|
||||||
conf_files="/etc/UPower/UPower.conf"
|
conf_files="/etc/UPower/UPower.conf"
|
||||||
subpackages="upower-devel"
|
subpackages="upower-devel"
|
||||||
|
|
||||||
|
@ -43,7 +43,6 @@ Add_dependency build polkit-devel
|
||||||
Add_dependency full udev
|
Add_dependency full udev
|
||||||
Add_dependency full pm-utils
|
Add_dependency full pm-utils
|
||||||
|
|
||||||
post_install()
|
post_install() {
|
||||||
{
|
|
||||||
vinstall ${FILESDIR}/upowerd.service 644 lib/systemd/system
|
vinstall ${FILESDIR}/upowerd.service 644 lib/systemd/system
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue