[arch-commits] Commit in openobex/trunk (PKGBUILD)
Tom Gundersen
tomegun at nymeria.archlinux.org
Sat Jun 1 12:15:55 UTC 2013
Date: Saturday, June 1, 2013 @ 14:15:55
Author: tomegun
Revision: 186954
upgpkg: openobex 1.7-6
update bluez deps
Modified:
openobex/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-06-01 11:54:20 UTC (rev 186953)
+++ PKGBUILD 2013-06-01 12:15:55 UTC (rev 186954)
@@ -6,12 +6,12 @@
pkgname=openobex
pkgver=1.7
-pkgrel=5
+pkgrel=6
pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
url="http://dev.zuckschwerdt.org/openobex/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
-depends=('bluez' 'libusbx')
+depends=('libusbx' 'bluez-libs')
makedepends=('cmake')
options=('!makeflags')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-Source.tar.gz)
@@ -19,12 +19,6 @@
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() {
@@ -33,8 +27,8 @@
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_INSTALL_SBINDIR=bin
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_INSTALL_SBINDIR=/usr/bin
make all openobex-apps
}
@@ -43,4 +37,9 @@
make DESTDIR="${pkgdir}" install
cp ../${pkgname}-${pkgver}-Source/apps/lib/*.h "${pkgdir}/usr/include/openobex/"
install -m644 apps/lib/libopenobex-apps-common.a "${pkgdir}/usr/lib/libopenobex-apps-common.a"
+
+ # usrmove
+ cd "$pkgdir"
+ mv lib/udev usr/lib/
+ rmdir lib
}
More information about the arch-commits
mailing list