[arch-commits] Commit in pm-utils/trunk (PKGBUILD typo.patch)

Thayer Williams thayer at archlinux.org
Sun Feb 1 20:14:00 UTC 2009


    Date: Sunday, February 1, 2009 @ 15:14:00
  Author: thayer
Revision: 25956

upgpkg: pm-utils 1.2.3-4
    patched pkg-config typo

Added:
  pm-utils/trunk/typo.patch
Modified:
  pm-utils/trunk/PKGBUILD

------------+
 PKGBUILD   |   13 +++++++++----
 typo.patch |   12 ++++++++++++
 2 files changed, 21 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-01 16:32:45 UTC (rev 25955)
+++ PKGBUILD	2009-02-01 20:14:00 UTC (rev 25956)
@@ -3,7 +3,7 @@
 
 pkgname=pm-utils
 pkgver=1.2.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Utilities and scripts for suspend and hibernate power management"
 arch=('i686' 'x86_64')
 url="http://pm-utils.freedesktop.org"
@@ -11,11 +11,13 @@
 depends=('glibc' 'vbetool' 'procps')
 makedepends=('xmlto')
 source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
-	11netcfg
-    daemons.patch)
+        11netcfg
+       	daemons.patch 
+	typo.patch)
 md5sums=('2a9a9e3de8bcda43c88a9e346866fd55'
          '9839687c8787d99fd4ff36aa3238c27b'
-         '67bafe375f385e66bae432b9db914aaf')
+         '67bafe375f385e66bae432b9db914aaf'
+         'd80018ca6592b989cefa334399b2dba1')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
@@ -23,6 +25,9 @@
   # make sure Arch Linux daemons are properly handled
   patch -Np0 -i $srcdir/daemons.patch || return 1
 
+  # fix a pkg-config typo (should be removed on next release)
+  patch -Np0 -i $srcdir/typo.patch || return 1
+
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
   make || return 1
   make DESTDIR=$pkgdir install || return 1

Added: typo.patch
===================================================================
--- typo.patch	                        (rev 0)
+++ typo.patch	2009-02-01 20:14:00 UTC (rev 25956)
@@ -0,0 +1,12 @@
+--- ./pm-utils.pc.in.bak 2009-02-01 14:35:43.114890340 +0100
++++ ./pm-utils.pc.in	2009-02-01 14:35:51.138964508 +0100
+@@ -6,7 +6,7 @@
+ pm_libdir=${libdir}/pm-utils
+ pm_sysconfdir=${sysconfdir}/pm
+ pm_sleephooks=${pm_libdir}/sleep.d
+-pm_powerhooks=${pm_libdir)/power.d
++pm_powerhooks=${pm_libdir}/power.d
+ pm_sleepmodules=${pm_libdir}/module.d
+ 
+ Name: pm-utils
+




More information about the arch-commits mailing list