summaryrefslogtreecommitdiffstats
path: root/abs/extra/bluez/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/bluez/PKGBUILD')
-rw-r--r--abs/extra/bluez/PKGBUILD45
1 files changed, 24 insertions, 21 deletions
diff --git a/abs/extra/bluez/PKGBUILD b/abs/extra/bluez/PKGBUILD
index f8dfbe5..9fff334 100644
--- a/abs/extra/bluez/PKGBUILD
+++ b/abs/extra/bluez/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
pkgname=bluez
-pkgver=4.69
+pkgver=4.81
pkgrel=1
pkgdesc="Libraries and tools for the Bluetooth protocol stack"
url="http://www.bluez.org/"
@@ -22,26 +22,25 @@ source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/lib \
- --mandir=/usr/share/man \
- --enable-gstreamer \
- --enable-alsa \
- --enable-usb \
- --enable-netlink \
- --enable-tools \
- --enable-bccmd \
- --enable-hid2hci \
- --enable-dfutool \
- --enable-hidd \
- --enable-pand \
- --enable-dund \
- --enable-cups \
- --enable-manpages \
- --enable-configfiles \
- --enable-pcmciarules || return 1
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/lib \
+ --enable-gstreamer \
+ --enable-alsa \
+ --enable-usb \
+ --enable-tools \
+ --enable-bccmd \
+ --enable-dfutool \
+ --enable-hidd \
+ --enable-pand \
+ --enable-dund \
+ --disable-cups \
+ --enable-udevrules \
+ --enable-configfiles || return 1
make || return 1
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install || return 1
install -D -m644 "$srcdir/$pkgname-$pkgver/network/network.conf" "$pkgdir/etc/bluetooth/" || return 1
@@ -53,8 +52,12 @@ build() {
install -D -m755 "$srcdir/run.dund" "$pkgdir/etc/sv/dund/run" || return 1
install -D -m755 "$srcdir/run.pand" "$pkgdir/etc/sv/pand/run" || return 1
install -D -m755 "$srcdir/run.rfcomm" "$pkgdir/etc/sv/rfcomm/run" || return 1
+
+ sed -i 's#/usr/bin/python#/usr/bin/python2#' test/simple-agent
+ install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
}
-md5sums=('350568aa11a95eac6e56e9289ff1f91d'
+
+md5sums=('75fbc768bf626fc8f4cf466006767723'
'd12be5b494525bb1ba6eac5c3983dd3e'
'1c88fcd455920ad8ee0c7cae3fe15771'
'a9c1b4da8b5a3969865272bd0fb01da2'