summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/pm-utils
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 05:53:28 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 05:53:28 (GMT)
commit5ad04ad706e074c7fde14f44fdaa377858b1b043 (patch)
tree345b598f71bd906e07bca7f0ce419f7333577d3c /abs/core-testing/pm-utils
parent16643ae3432c466983bd43e05ec84db0fc3a6c67 (diff)
downloadlinhes_pkgbuild-5ad04ad706e074c7fde14f44fdaa377858b1b043.zip
linhes_pkgbuild-5ad04ad706e074c7fde14f44fdaa377858b1b043.tar.gz
linhes_pkgbuild-5ad04ad706e074c7fde14f44fdaa377858b1b043.tar.bz2
pm-utils:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/pm-utils')
-rw-r--r--abs/core-testing/pm-utils/PKGBUILD38
1 files changed, 20 insertions, 18 deletions
diff --git a/abs/core-testing/pm-utils/PKGBUILD b/abs/core-testing/pm-utils/PKGBUILD
index 0ca060c..0d87a34 100644
--- a/abs/core-testing/pm-utils/PKGBUILD
+++ b/abs/core-testing/pm-utils/PKGBUILD
@@ -1,29 +1,31 @@
-#$Id: PKGBUILD 7546 2008-08-02 21:35:07Z jgc $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 83839 2010-06-23 08:36:02Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Thayer Williams <thayer@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
pkgname=pm-utils
-pkgver=1.1.2.4
+pkgver=1.4.0
pkgrel=1
-pkgdesc="Utilities and scripts for power management"
+pkgdesc="Utilities and scripts for suspend and hibernate power management"
arch=('i686' 'x86_64')
url="http://pm-utils.freedesktop.org"
license=('GPL')
-depends=('glibc' 'vbetool' 'procps')
-makedepends=('xmlto')
-install=pm-utils.install
+depends=('bash' 'procps' 'vbetool' 'pm-quirks')
+optdepends=('upower')
+makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
- service.patch
- 11netcfg)
-md5sums=('5aa6d338fb8172f1826a1b08ae601a42'
- '3e170a6c7ae7d9110f95bab54235c089'
+ 11netcfg)
+md5sums=('132005cf1d33e33802eb78121a6ceb22'
'9839687c8787d99fd4ff36aa3238c27b')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- 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
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var
+ make
+ make DESTDIR="${pkgdir}" install
- #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/"
}