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

Evangelos Foutras foutrelis at nymeria.archlinux.org
Wed May 29 23:22:55 EDT 2013


    Date: Thursday, May 30, 2013 @ 05:22:55
  Author: foutrelis
Revision: 186595

upgpkg: openobex 1.7-4

Fix path to obex-check-device in udev rule (FS#35547).

Modified:
  openobex/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 00:27:58 UTC (rev 186594)
+++ PKGBUILD	2013-05-30 03:22:55 UTC (rev 186595)
@@ -6,7 +6,7 @@
 
 pkgname=openobex
 pkgver=1.7
-pkgrel=3
+pkgrel=4
 pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
 url="http://dev.zuckschwerdt.org/openobex/"
 arch=('i686' 'x86_64')
@@ -17,8 +17,17 @@
 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-Source.tar.gz)
 md5sums=('11031f6f0b876bb6259bd27106491528')
 
+prepare() {
+  mkdir build
+
+  cd ${pkgname}-${pkgver}-Source
+
+  # Fix path to obex-check-device in udev rule
+  # https://bugs.archlinux.org/task/35547
+  sed -i 's:/sbin/:/bin/:' udev/openobex.rules.in
+}
+
 build() {
-  mkdir build
   cd build
   cmake ../${pkgname}-${pkgver}-Source \
     -DCMAKE_BUILD_TYPE=Release \



More information about the arch-commits mailing list