From 07b41fbbe5a9510f0f1b663eb35063cbd65ff8b0 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Sat, 26 Feb 2011 02:01:46 +0000
Subject: bluez-hcidump: Update to latest

---
 abs/extra/bluez-hcidump/PKGBUILD | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/abs/extra/bluez-hcidump/PKGBUILD b/abs/extra/bluez-hcidump/PKGBUILD
index 25e0fdf..336a6d0 100644
--- a/abs/extra/bluez-hcidump/PKGBUILD
+++ b/abs/extra/bluez-hcidump/PKGBUILD
@@ -1,22 +1,27 @@
-# Maintainer: Geoffroy carrier <geoffroy@archlinux.org>
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Geoffroy carrier <geoffroy@archlinux.org>
 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Joerie de Gram <j.de.gram@gmail.com>
 
 pkgname=bluez-hcidump
-pkgver=1.42
+pkgver=2.0
 pkgrel=1
 pkgdesc="Bluetooth HCI package analyzer"
 url="http://www.bluez.org/"
 arch=('i686' 'x86_64')
 license=('GPL2')
-depends=('bluez>=4.18')
-source=(http://bluez.sf.net/download/$pkgname-$pkgver.tar.gz)
+depends=('glibc' 'bluez')
+source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.gz)
+md5sums=('5c2e3ef0a68b2845047867ba51ff8ac9')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
-  make || return 1
-  make DESTDIR="$pkgdir" install || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }
 
-md5sums=('5704737aaf72104eeaf77335218a1827')
-- 
cgit v0.12

