[arch-commits] Commit in pm-utils/trunk (PKGBUILD pm-utils.install)
Thayer Williams
thayer at archlinux.org
Tue Nov 18 00:07:29 UTC 2008
Date: Monday, November 17, 2008 @ 19:07:29
Author: thayer
Revision: 19257
upgpkg: pm-utils 1.2.2.1-2
removed install file && misc cleanup
Modified:
pm-utils/trunk/PKGBUILD
Deleted:
pm-utils/trunk/pm-utils.install
------------------+
PKGBUILD | 15 ++++++++-------
pm-utils.install | 15 ---------------
2 files changed, 8 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-11-17 23:55:20 UTC (rev 19256)
+++ PKGBUILD 2008-11-18 00:07:29 UTC (rev 19257)
@@ -1,15 +1,15 @@
#$Id$
#Maintainer: Thayer Williams <thayer at archlinux.org>
+
pkgname=pm-utils
pkgver=1.2.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="Utilities and scripts for power management"
arch=('i686' 'x86_64')
url="http://pm-utils.freedesktop.org"
license=('GPL')
depends=('glibc' 'vbetool' 'procps')
makedepends=('xmlto')
-install=pm-utils.install
source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
service.patch
11netcfg)
@@ -18,12 +18,13 @@
'9839687c8787d99fd4ff36aa3238c27b')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- patch -Np0 -i ${startdir}/src/service.patch || return 1
+ cd $srcdir/$pkgname-$pkgver
+ patch -Np0 -i $srcdir/service.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ make DESTDIR=$pkgdir install || return 1
- #Install additional hooks
- install -m755 ${startdir}/src/11netcfg ${startdir}/pkg/usr/lib/pm-utils/sleep.d/11netcfg || return 1
+ # install additional hooks
+ install -m755 $srcdir/11netcfg $pkgdir/usr/lib/pm-utils/sleep.d/11netcfg || return 1
}
+
Deleted: pm-utils.install
===================================================================
--- pm-utils.install 2008-11-17 23:55:20 UTC (rev 19256)
+++ pm-utils.install 2008-11-18 00:07:29 UTC (rev 19257)
@@ -1,15 +0,0 @@
-# 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