[arch-commits] CVS update of arch/build/system/bluez-utils (PKGBUILD)

Thomas Baechler thomas at archlinux.org
Sat Jul 28 09:49:49 UTC 2007


    Date: Saturday, July 28, 2007 @ 05:49:49
  Author: thomas
    Path: /home/cvs-arch/arch/build/system/bluez-utils

Modified: PKGBUILD (1.29 -> 1.30)

upgpkg: bluez-utils 3.13-1


----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)


Index: arch/build/system/bluez-utils/PKGBUILD
diff -u arch/build/system/bluez-utils/PKGBUILD:1.29 arch/build/system/bluez-utils/PKGBUILD:1.30
--- arch/build/system/bluez-utils/PKGBUILD:1.29	Fri Jul 13 18:31:24 2007
+++ arch/build/system/bluez-utils/PKGBUILD	Sat Jul 28 05:49:49 2007
@@ -1,31 +1,37 @@
-# $Id: PKGBUILD,v 1.29 2007/07/13 22:31:24 thomas Exp $
+# $Id: PKGBUILD,v 1.30 2007/07/28 09:49:49 thomas Exp $
 pkgname=bluez-utils
-pkgver=3.12
+pkgver=3.13
 pkgrel=1
 pkgdesc="Utilities for the Linux Bluetooth protocol stack"
 arch=(i686 x86_64)
 url="http://www.bluez.org/"
-depends=('bluez-libs>=3.12' 'libusb' 'dbus>=0.93')
+depends=('bluez-libs>=3.13' 'libusb' 'dbus>=0.93')
 license=('GPL')
 backup=(etc/bluetooth/{hcid.conf,rfcomm.conf,pin} etc/conf.d/bluetooth)
 source=(http://bluez.sf.net/download/bluez-utils-${pkgver}.tar.gz
 	bluetooth.rc bluetooth.conf.d)
-md5sums=('ce95f814d65390c5b8221b74381a0f9a'
+md5sums=('88df46a585b5823729f23adee58426d3'
          '1291c1c1547af77a4955416fd34cfc1f'
          'dda606b16264859b007ec777c7a5627d')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --sysconfdir=/etc \
-    --localstatedir=/var --enable-pcmcia
+  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/lib \
+    --localstatedir=/var --enable-pcmcia --enable-inotify --enable-alsa \
+    --enable-cups --enable-pcmciarules --enable-bccmd --enable-avctrl \
+    --enable-dfutool
   make || return 1
   # appease the RedHat-centric Makefile
   mkdir -p ${startdir}/pkg/etc/init.d
   make DESTDIR=${startdir}/pkg install || return 1
   rm -rf ${startdir}/pkg/etc/init.d ${startdir}/pkg/etc/rc.d
   
-  install -D -m755 ${startdir}/src/bluetooth.rc ${startdir}/pkg/etc/rc.d/bluetooth
-  install -D -m644 ${startdir}/src/bluetooth.conf.d ${startdir}/pkg/etc/conf.d/bluetooth
+  install -D -m755 ${startdir}/src/bluetooth.rc ${startdir}/pkg/etc/rc.d/bluetooth || return 1
+  install -D -m644 ${startdir}/src/bluetooth.conf.d ${startdir}/pkg/etc/conf.d/bluetooth || return 1
 
   install -D -m755 ${startdir}/src/bluez-utils-${pkgver}/daemon/passkey-agent ${startdir}/pkg/usr/bin/passkey-agent || return 1
+
+  mkdir -p ${startdir}/pkg/etc/udev/rules.d/
+  sed 's|RUN+="bluetooth_serial"|RUN+="/lib/udev/bluetooth_serial"|g' ${startdir}/pkg/etc/udev/bluetooth.rules > ${startdir}/pkg/etc/udev/rules.d/bluetooth.rules || return 1
+  rm ${startdir}/pkg/etc/udev/bluetooth.rules || return 1
 }




More information about the arch-commits mailing list