summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/bluez-hcidump/PKGBUILD25
1 files 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')