[arch-commits] Commit in upower/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sun Apr 29 07:01:45 UTC 2012


    Date: Sunday, April 29, 2012 @ 03:01:45
  Author: allan
Revision: 157762

upgpkg: upower 0.9.15-3

move udev rules from /lib

Modified:
  upower/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-29 06:49:21 UTC (rev 157761)
+++ PKGBUILD	2012-04-29 07:01:45 UTC (rev 157762)
@@ -3,7 +3,7 @@
 
 pkgname=upower
 pkgver=0.9.15
-pkgrel=2
+pkgrel=3
 pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
 arch=('i686' 'x86_64')
 url="http://upower.freedesktop.org"
@@ -16,6 +16,10 @@
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+
+  # put udev files in /usr/lib
+  sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
+
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
       --libexecdir=/usr/lib/upower --disable-static
   make




More information about the arch-commits mailing list