diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-24 02:41:29 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-24 02:41:29 (GMT) |
commit | 4aba3116edef8805f062cdf82a8ed69865e7a5ea (patch) | |
tree | 2cf706000a057a3c59d44dc0cd13918c017c0dbe | |
parent | ed52d08781c9e6123368c1001f8834b1ddf3b637 (diff) | |
download | linhes_pkgbuild-4aba3116edef8805f062cdf82a8ed69865e7a5ea.zip linhes_pkgbuild-4aba3116edef8805f062cdf82a8ed69865e7a5ea.tar.gz linhes_pkgbuild-4aba3116edef8805f062cdf82a8ed69865e7a5ea.tar.bz2 |
pm-utils: upgrade
-rw-r--r-- | abs/core/pm-utils/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/abs/core/pm-utils/PKGBUILD b/abs/core/pm-utils/PKGBUILD index 0d87a34..b0c71c4 100644 --- a/abs/core/pm-utils/PKGBUILD +++ b/abs/core/pm-utils/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 83839 2010-06-23 08:36:02Z jgc $ +# $Id: PKGBUILD 98218 2010-11-04 21:31:12Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Thayer Williams <thayer@archlinux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> pkgname=pm-utils -pkgver=1.4.0 +pkgver=1.4.1 pkgrel=1 pkgdesc="Utilities and scripts for suspend and hibernate power management" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ optdepends=('upower') makedepends=('xmlto' 'docbook-xml' 'docbook-xsl') source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz 11netcfg) -md5sums=('132005cf1d33e33802eb78121a6ceb22' +md5sums=('1742a556089c36c3a89eb1b957da5a60' '9839687c8787d99fd4ff36aa3238c27b') build() { @@ -23,9 +23,15 @@ build() { ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var - make - make DESTDIR="${pkgdir}" install + make || return 1 +} +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install || return 1 # install additional hooks install -m755 "${srcdir}/11netcfg" "${pkgdir}/usr/lib/pm-utils/sleep.d/" + # nm >=0.8.2 has native udev suspend/resume support + rm -f "${pkgdir}/usr/lib/pm-utils/sleep.d/55NetworkManager" } |