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

Andreas Radke andyrtr at nymeria.archlinux.org
Sun Dec 15 12:13:59 UTC 2013


    Date: Sunday, December 15, 2013 @ 13:13:59
  Author: andyrtr
Revision: 201566

upgpkg: bluez 5.12-2

ship upstream default config file

Modified:
  bluez/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-15 09:17:41 UTC (rev 201565)
+++ PKGBUILD	2013-12-15 12:13:59 UTC (rev 201566)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci')
 pkgver=5.12
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -49,10 +49,14 @@
 package_bluez() {
   pkgdesc="Daemons for the bluetooth protocol stack"
   depends=('libical' 'dbus' 'glib2')
-  backup=('etc/dbus-1/system.d/bluetooth.conf')
+  backup=('etc/dbus-1/system.d/bluetooth.conf'
+          'etc/bluetooth/main.conf')
   conflicts=('obexd-client' 'obexd-server')
 
   cd ${pkgbase}-${pkgver}
+  #make DESTDIR=${pkgdir} install
+  #return 1
+  
   make DESTDIR=${pkgdir} \
        install-libexecPROGRAMS \
        install-dbussessionbusDATA \
@@ -62,6 +66,10 @@
        install-dbusDATA \
        install-man8
 
+  # ship upstream main config file
+  install -dm755 ${pkgdir}/etc/bluetooth
+  install -Dm644 ${srcdir}/${pkgbase}-${pkgver}/src/main.conf ${pkgdir}/etc/bluetooth/main.conf
+
   # add basic documention
   install -dm755 ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis
   cp -a doc/*.txt ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis/




More information about the arch-commits mailing list