summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b7891bc2f27d4747bf332e43e5b39949bf4a9b3 (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=libbtbb
pkgname=libbtbb-git
pkgver=2017.03.R2
pkgrel=1
pkgdesc='Bluetooth baseband decoding library'
url='https://github.com/greatscottgadgets/libbtbb'
arch=('x86_64' 'i686')
license=('GPL2')
makedepends=(cmake)
depends=('python')
source=("https://github.com/greatscottgadgets/libbtbb/archive/master.zip")
sha1sums=('SKIP')

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

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