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

Andreas Radke andyrtr at gemini.archlinux.org
Fri Aug 12 14:14:05 UTC 2022


    Date: Friday, August 12, 2022 @ 14:14:04
  Author: andyrtr
Revision: 452615

upgpkg: bluez 5.65-2: ship mesh-main.conf

Modified:
  bluez/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-12 13:51:10 UTC (rev 452614)
+++ PKGBUILD	2022-08-12 14:14:04 UTC (rev 452615)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 'bluez-plugins')
 pkgver=5.65
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/"
 arch=('x86_64')
 license=('GPL2')
@@ -91,6 +91,7 @@
   pkgdesc="Development and debugging utilities for the bluetooth protocol stack"
   depends=('dbus' 'systemd' 'glib2')
   optdepends=('ell: for btpclient')
+  backup=('etc/bluetooth/mesh-main.conf')
   conflicts=('bluez-hcidump')
   provides=('bluez-hcidump')
   replaces=('bluez-hcidump' 'bluez<=4.101')
@@ -107,11 +108,15 @@
     install -Dm755 "${srcdir}"/"${pkgbase}"-${pkgver}/tools/$filename "${pkgdir}"/usr/bin/$filename
   done
   
+  # ship upstream mesh config file
+  install -dm755 "${pkgdir}"/etc/bluetooth
+  install -Dm644 "${srcdir}"/"${pkgbase}"-${pkgver}/mesh/mesh-main.conf "${pkgdir}"/etc/bluetooth/mesh-main.conf
+ 
   # libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
   #make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES
   #rmdir ${pkgdir}/usr/lib
   rm -rf "${pkgdir}"/usr/lib
-  
+
   # move the hid2hci man page out
   mv "${pkgdir}"/usr/share/man/man1/hid2hci.1 "${srcdir}"/
 }



More information about the arch-commits mailing list