summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5957683b68792f38813624a237773493fbb2cf7e (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/2017-03-R2.tar.gz")
sha1sums=('76d063471c41de24f071700238badbebcc20ee5f')

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

package() {
  cd "${srcdir}/${_gitname}-2017-03-R2/build/"
  make install
}