[arch-commits] CVS update of extra/system/hal-info (PKGBUILD hal-info-nohalcheck.patch)

Jan de Groot jgc at archlinux.org
Sun Oct 28 17:23:58 UTC 2007


    Date: Sunday, October 28, 2007 @ 13:23:58
  Author: jgc
    Path: /home/cvs-extra/extra/system/hal-info

   Added: hal-info-nohalcheck.patch (1.1)
Modified: PKGBUILD (1.6 -> 1.7)

upgpkg: hal-info 0.20071011-1
Update to new version. Be aware that this one will not work with 0.5.9


---------------------------+
 PKGBUILD                  |   17 +++++++++--------
 hal-info-nohalcheck.patch |   15 +++++++++++++++
 2 files changed, 24 insertions(+), 8 deletions(-)


Index: extra/system/hal-info/PKGBUILD
diff -u extra/system/hal-info/PKGBUILD:1.6 extra/system/hal-info/PKGBUILD:1.7
--- extra/system/hal-info/PKGBUILD:1.6	Wed Sep 12 14:47:53 2007
+++ extra/system/hal-info/PKGBUILD	Sun Oct 28 13:23:58 2007
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD,v 1.6 2007/09/12 18:47:53 jgc Exp $
+# $Id: PKGBUILD,v 1.7 2007/10/28 17:23:58 jgc Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=hal-info
-_date=20070831
-pkgver=0.20070831
+_date=20071011
+pkgver=0.20071011
 pkgrel=1
 pkgdesc="Hardware Abstraction Layer information files"
 arch=(i686 x86_64)
 license=('GPL' 'custom')
 url="http://www.freedesktop.org/wiki/Software/hal"
-source=(http://hal.freedesktop.org/releases/hal-info-${_date}.tar.gz)
-md5sums=('4e09c4a4a3f7e01d8b592eb75eca9006')
+source=(http://hal.freedesktop.org/releases/hal-info-${_date}.tar.gz
+	hal-info-nohalcheck.patch)
 
 build() {
   cd ${startdir}/src/${pkgname}-${_date}
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-  make DESTDIR=${startdir}/pkg install
+  patch -Np0 -i ${startdir}/src/hal-info-nohalcheck.patch || return 1
+  ./configure --prefix=/usr --sysconfdir=/etc || return 1
+  make || return 1
+  make DESTDIR=${startdir}/pkg install || return 1
 
   mkdir -p ${startdir}/pkg/usr/share/licenses/${pkgname}
   install -m644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}
Index: extra/system/hal-info/hal-info-nohalcheck.patch
diff -u /dev/null extra/system/hal-info/hal-info-nohalcheck.patch:1.1
--- /dev/null	Sun Oct 28 13:23:58 2007
+++ extra/system/hal-info/hal-info-nohalcheck.patch	Sun Oct 28 13:23:58 2007
@@ -0,0 +1,15 @@
+--- configure.orig	2007-10-28 17:21:54.000000000 +0000
++++ configure	2007-10-28 17:22:04.000000000 +0000
+@@ -3415,12 +3415,6 @@
+ 
+ fi
+ 
+-if ! $PKG_CONFIG --atleast-version 0.5.10 hal; then
+-   { { echo "$as_me:$LINENO: error: hal 0.5.10 or later is required for this version of hal-info" >&5
+-echo "$as_me: error: hal 0.5.10 or later is required for this version of hal-info" >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
+-
+ # Check whether --enable-recall was given.
+ if test "${enable_recall+set}" = set; then
+   enableval=$enable_recall; enable_recall=$enableval




More information about the arch-commits mailing list