summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8cecfb6ee51984a295127cf5cafd37afc0e22632 (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
_gitname=ubertooth
pkgname=ubertooth-git
pkgver=2017.03.R2
epoch=2
pkgrel=1
pkgdesc="an open source wireless development platform suitable for Bluetooth experimentation"
url="https://github.com/greatscottgadgets/ubertooth"
arch=('x86_64' 'i686')
license=('GPL2')
depends=('libbtbb-git' 'libusbx' 'libpcap' 'python')
source=("https://github.com/greatscottgadgets/ubertooth/archive/master.zip")
md5sums=('SKIP')

build() {
  cd "${srcdir}/${_gitname}-master/host/"
  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr ..
  make
}

package() {
  cd "${srcdir}/${_gitname}-master/host/build/"
  make install
}