upower0: fix path to pm-utils; suspend/shutdown finally works again.

This commit is contained in:
Juan RP 2014-07-28 11:47:08 +02:00
parent 1fb087660d
commit 43478765bc
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'upower0' # Template file for 'upower0'
pkgname=upower0 pkgname=upower0
version=0.9.23 version=0.9.23
revision=2 revision=3
wrksrc="upower-${version}" wrksrc="upower-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-deprecated --with-backend=linux --without-idevice --with-udevrulesdir=/usr/lib/udev/rules.d" configure_args="--disable-static --enable-deprecated --with-backend=linux --without-idevice --with-udevrulesdir=/usr/lib/udev/rules.d"
@ -34,6 +34,11 @@ else
configure_args+=" --disable-introspection" configure_args+=" --disable-introspection"
fi fi
pre_configure() {
# Fix path to pm-utils
sed -e 's,/usr/sbin,/usr/bin,g' -i src/linux/up-backend.c
}
upower0-devel_package() { upower0-devel_package() {
provides="upower-devel-${version}_${revision}" provides="upower-devel-${version}_${revision}"
replaces="upower-devel>=0" replaces="upower-devel>=0"