summaryrefslogtreecommitdiff
path: root/extra/bluez-hcidump/PKGBUILD
blob: 2e586a1311307e2996346af8e477412e5a2cae08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 187051 2013-06-03 11:16:12Z allan $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Geoffroy carrier <geoffroy@archlinux.org>

pkgname=bluez-hcidump
pkgver=2.4
pkgrel=2
pkgdesc="Bluetooth HCI package analyzer"
url="http://www.bluez.org/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('bluez')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.gz")
md5sums=('d39833de0ed26bddf784e9580b6f33c4')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  mv "${pkgdir}"/usr/sbin "${pkgdir}"/usr/bin
}