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

Jan de Groot jgc at archlinux.org
Mon Jul 19 14:03:30 UTC 2010


    Date: Monday, July 19, 2010 @ 10:03:30
  Author: jgc
Revision: 85775

Fix libexecdir

Modified:
  obexd/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-19 13:37:33 UTC (rev 85774)
+++ PKGBUILD	2010-07-19 14:03:30 UTC (rev 85775)
@@ -5,17 +5,17 @@
 pkgbase=obexd
 pkgname=('obexd-client' 'obexd-server')
 pkgver=0.29
-pkgrel=2
+pkgrel=3
 url="http://www.bluez.org/"
 arch=('i686' 'x86_64')
 license=('GPL2')
-makedepends=('openobex' 'dbus-glib' 'libical')
+makedepends=('openobex' 'libical')
 source=(http://www.kernel.org/pub/linux/bluetooth/${pkgbase}-${pkgver}.tar.bz2)
 md5sums=('3e90cff18f1339a44adde2c920f95393')
 
 build() {
   cd "${srcdir}/${pkgbase}-${pkgver}"
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr --libexecdir=/usr/lib/obexd
   make
 }
 
@@ -27,8 +27,10 @@
   conflicts=('obexd')
 
   cd "${srcdir}/${pkgbase}-${pkgver}/client"
-  install -Dm755 obex-client ${pkgdir}/usr/lib/obex-client
-  install -Dm644 obex-client.service ${pkgdir}/usr/share/dbus-1/services/obex-client.service
+  install -m755 -d "${pkgdir}/usr/lib/obexd"
+  install -m755 -d "${pkgdir}/usr/share/dbus-1/services"
+  install -m755 obex-client "${pkgdir}/usr/lib/obexd/"
+  install -m644 obex-client.service "${pkgdir}/usr/share/dbus-1/services/"
 }
 
 package_obexd-server() {
@@ -36,6 +38,8 @@
   depends=('openobex' 'glib2' 'libical')
 
   cd "${srcdir}/${pkgbase}-${pkgver}/src"
-  install -Dm755 obexd ${pkgdir}/usr/lib/obexd 
-  install -Dm644 obexd.service ${pkgdir}/usr/share/dbus-1/services/obexd.service
+  install -m755 -d "${pkgdir}/usr/lib/obexd"
+  install -m755 -d "${pkgdir}/usr/share/dbus-1/services"
+  install -m755 obexd "${pkgdir}/usr/lib/obexd/"
+  install -m644 obexd.service "${pkgdir}/usr/share/dbus-1/services/"
 }




More information about the arch-commits mailing list