You are not logged in.
Hi,
pm-utils 1.1.0 is out and has support for s2disk/s2ram, which is very cool Has anybody a woorking PKGBUILD for that new version? Package in extra is still the old version
dante
"Lasciate ogni speranza, voi ch' entrate"
- Laßt jede Hoffnung hinter euch, ihr, die ihr eintretet -
Dante Alighieri
Offline
I provide pm-utils-opensuse 0.99 with s2disk s2ram support on AUR.
Offline
SpookyET, thanks for your help. But I took the original PKGBUILD from extra, modified it with the new package from pm-utils and removed the former patches. I don't know if it's working for everybody, but for me it's fine So copy the original files from abs and use the new PKGBUILD.
#$Id: PKGBUILD,v 1.4 2007/12/26 14:07:40 jgc Exp $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=pm-utils
pkgver=1.1.0
pkgrel=1
pkgdesc="Utilities and scripts for power management"
arch=('i686' 'x86_64')
url="http://pm-utils.freedesktop.org"
license=('GPL')
depends=('glibc' 'vbetool' 'procps')
install=pm-utils.install
source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
pm-utils-0.99.3-cfg.patch
no-usleep.patch
service.patch
11netcfg)build() {
cd ${startdir}/src/${pkgname}-${pkgver}
#patch -Np1 -i ${startdir}/src/pm-utils-0.99.3-cfg.patch || return 1
#patch -Np1 -i ${startdir}/src/no-usleep.patch || return 1
#patch -Np0 -i ${startdir}/src/service.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1#Remove unsupported hooks
rm -f ${startdir}/pkg/usr/lib/pm-utils/sleep.d/60sysfont || return 1#Install additional hooks
install -m755 ${startdir}/src/11netcfg ${startdir}/pkg/usr/lib/pm-utils/sleep.d/11netcfg || return 1
}
"Lasciate ogni speranza, voi ch' entrate"
- Laßt jede Hoffnung hinter euch, ihr, die ihr eintretet -
Dante Alighieri
Offline
The patches are needed. It does not work properly without.
Last edited by SpookyET (2008-04-18 15:52:19)
Offline