From 1b5d8accc28f1822918843f31f75d84f5fc5e80f Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Sat, 26 Feb 2011 01:55:15 +0000
Subject: bluez: Move run files to runit-scripts

---
 abs/extra/bluez/PKGBUILD | 22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

diff --git a/abs/extra/bluez/PKGBUILD b/abs/extra/bluez/PKGBUILD
index 0b6f49c..2b2ffd4 100644
--- a/abs/extra/bluez/PKGBUILD
+++ b/abs/extra/bluez/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
 pkgname=bluez
 pkgver=4.89
-pkgrel=1
+pkgrel=2
 pkgdesc="Libraries and tools for the Bluetooth protocol stack"
 url="http://www.bluez.org/"
 arch=('i686' 'x86_64')
@@ -23,8 +23,7 @@ backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
         'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
 install='bluez.install'
 source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2"
-        bluetooth.conf.d run.bluetoothd run.hidd run.dund run.pand
-        run.rfcomm)
+        bluetooth.conf.d)
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
@@ -58,21 +57,12 @@ package() {
                 serial/serial.conf \
     ${pkgdir}/etc/bluetooth/
 
-  install -D -m644 "$srcdir/bluetooth.conf.d"                     "$pkgdir/etc/conf.d/bluetooth" || return 1
-  install -D -m755 "$srcdir/run.bluetoothd"                       "$pkgdir/etc/sv/bluetoothd/run" || return 1
-  install -D -m755 "$srcdir/run.hidd"                             "$pkgdir/etc/sv/hidd/run" || return 1
-  install -D -m755 "$srcdir/run.dund"                             "$pkgdir/etc/sv/dund/run" || return 1
-  install -D -m755 "$srcdir/run.pand"                             "$pkgdir/etc/sv/pand/run" || return 1
-  install -D -m755 "$srcdir/run.rfcomm"                           "$pkgdir/etc/sv/rfcomm/run" || return 1
+  install -D -m644 "$srcdir/bluetooth.conf.d" \
+                   "$pkgdir/etc/conf.d/bluetooth" || return 1
   
   install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
   sed -i 's#/usr/bin/python#/usr/bin/python2#' \
-    ${pkgdir}/usr/bin/bluez-simple-agent
+         ${pkgdir}/usr/bin/bluez-simple-agent
 }
 md5sums=('e35936694cc745987ebce2053c51a840'
-         'd12be5b494525bb1ba6eac5c3983dd3e'
-         '1c88fcd455920ad8ee0c7cae3fe15771'
-         'a9c1b4da8b5a3969865272bd0fb01da2'
-         '89c073f43a074844b87e28103e48623d'
-         '8ee99afea417561d01012b8047fd06d5'
-         '934a9eaa25c275d18115068101fb75e8')
+         'd12be5b494525bb1ba6eac5c3983dd3e')
-- 
cgit v0.12

