[arch-commits] CVS update of extra/system/pm-utils (PKGBUILD pm-utils.install)

Jan de Groot jgc at archlinux.org
Sun Jun 17 10:30:48 UTC 2007


    Date: Sunday, June 17, 2007 @ 06:30:48
  Author: jgc
    Path: /home/cvs-extra/extra/system/pm-utils

   Added: PKGBUILD (1.1) pm-utils.install (1.1)

upgpkg: pm-utils 0.99.3-1
Add pm-utils as replacement for powersave


------------------+
 PKGBUILD         |   22 ++++++++++++++++++++++
 pm-utils.install |   15 +++++++++++++++
 2 files changed, 37 insertions(+)


Index: extra/system/pm-utils/PKGBUILD
diff -u /dev/null extra/system/pm-utils/PKGBUILD:1.1
--- /dev/null	Sun Jun 17 06:30:47 2007
+++ extra/system/pm-utils/PKGBUILD	Sun Jun 17 06:30:47 2007
@@ -0,0 +1,22 @@
+#$Id: PKGBUILD,v 1.1 2007/06/17 10:30:47 jgc Exp $
+#Maintainer: Jan de Groot <jgc at archlinux.org>
+pkgname=pm-utils
+pkgver=0.99.3
+pkgrel=1
+pkgdesc="Utilities and scripts for power management"
+arch=('i686')
+url="http://en.opensuse.org/Pm-utils"
+license=('GPL')
+depends=('glibc')
+conflicts=('powersave')
+replaces=('powersave')
+provides=('powersave')
+install=pm-utils.install
+source=(http://www.archlinux.org/~jgc/pm-utils/${pkgname}-${pkgver}.tar.bz2)
+
+build() {
+  cd ${startdir}/src/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+  make || return 1
+  make DESTDIR=${startdir}/pkg install
+}
Index: extra/system/pm-utils/pm-utils.install
diff -u /dev/null extra/system/pm-utils/pm-utils.install:1.1
--- /dev/null	Sun Jun 17 06:30:47 2007
+++ extra/system/pm-utils/pm-utils.install	Sun Jun 17 06:30:48 2007
@@ -0,0 +1,15 @@
+# arg 1:  the new package version
+post_install() {
+  cat << _EOF
+
+Powersave has been deprecated as suspend/resume framework and has been replaced
+by pm-utils. Pm-utils provides everything you need for suspend/resume, but does
+not load your cpufreq modules like powersaved does. You have to load these
+modules by hand if you want to use them.
+
+_EOF
+}
+
+op=$1
+shift
+$op $*




More information about the arch-commits mailing list