[arch-commits] Commit in openobex/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Mon Nov 29 00:43:34 UTC 2010
Date: Sunday, November 28, 2010 @ 19:43:34
Author: andrea
Revision: 101376
upgpkg: openobex 1.5-2
switch to libusb-compat
Modified:
openobex/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-11-28 23:41:48 UTC (rev 101375)
+++ PKGBUILD 2010-11-29 00:43:34 UTC (rev 101376)
@@ -5,18 +5,18 @@
pkgname=openobex
pkgver=1.5
-pkgrel=1
+pkgrel=2
pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
url="http://dev.zuckschwerdt.org/openobex/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
-depends=('bluez>=4.55' 'libusb')
+depends=('bluez' 'libusb-compat')
options=('!libtool')
-source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2")
+source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2")
md5sums=('fce1b82eafb74bde54fe117372393ba8')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
@@ -24,7 +24,11 @@
--enable-apps \
--enable-irda \
--enable-bluetooth \
- --enable-usb || return 1
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
+ --enable-usb
+ make
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list