[arch-commits] Commit in openobex/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Sep 14 18:49:41 UTC 2008
Date: Sunday, September 14, 2008 @ 14:49:40
Author: jgc
Revision: 12492
upgpkg: openobex 1.3-3
Rebuild for bluez - add license
Modified:
openobex/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-09-14 18:35:53 UTC (rev 12491)
+++ PKGBUILD 2008-09-14 18:49:40 UTC (rev 12492)
@@ -3,25 +3,24 @@
pkgname=openobex
pkgver=1.3
-pkgrel=2
+pkgrel=3
pkgdesc="Implementation of the Object Exchange (OBEX) protocol; OBEX is a session protocol and can best be described as a binary HTTP protocol. "
arch=(i686 x86_64)
+license=('GPL' 'LGPL')
url="http://openobex.triq.net/"
-depends=('glibc' 'bash' 'libusb' 'bluez-libs')
+depends=('bluez>=4.1')
options=('!libtool')
-source=(http://umn.dl.sourceforge.net/sourceforge/openobex/$pkgname-$pkgver.tar.gz)
+source=(http://downloads.sourceforge.net/sourceforge/openobex/${pkgname}-${pkgver}.tar.gz)
md5sums=('feaa5dfe5151c0e70e8f868fa4648a43')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
./configure --enable-apps \
--enable-irda \
--enable-bluetooth \
--enable-usb \
- --prefix=/usr
-
- [ "$CARCH" = "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
-
+ --prefix=/usr || return 1
make || return 1
- make DESTDIR=$startdir/pkg/ install
+ make DESTDIR="${pkgdir}" install || return 1
}
More information about the arch-commits
mailing list