upower0: fix path to pm-utils; suspend/shutdown finally works again.
This commit is contained in:
parent
1fb087660d
commit
43478765bc
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'upower0'
|
||||
pkgname=upower0
|
||||
version=0.9.23
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="upower-${version}"
|
||||
build_style=gnu-configure
|
||||
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"
|
||||
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() {
|
||||
provides="upower-devel-${version}_${revision}"
|
||||
replaces="upower-devel>=0"
|
||||
|
|
Loading…
Reference in a new issue