summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 39d2dd5bfaccfb7f4cd59fbd7764f6443ca25a0d (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: shilka<shilkazx[AT]gmail.com>


pkgname=tinyb
pkgver=0.5.1
pkgrel=1
epoch=
pkgdesc="Intel Tiny Bluetooth LE Library"
arch=(x86_64)
url="https://github.com/intel-iot-devkit/tinyb"
license=('MIT')
groups=()
depends=('bluez' 'java-environment>=1.8' 'java-environment<9')
makedepends=("cmake")
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!makeflags)
install=
changelog=
source=("https://github.com/intel-iot-devkit/$pkgname/archive/v$pkgver.tar.gz")
noextract=()
sha256sums=("1d27b5f3b05c5b7a9f29f3d717164162607aa94b8e15ba2a9aaa3884908a2da1")
validpgpkeys=()

#prepare() {
#	cd "$pkgname-$pkgver"
#}

build() {
        cd "$pkgname-$pkgver"
        mkdir -p build
        cd build
        cmake -DBUILDJAVA=ON -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" ..
        make
}
package() {
        cd "$pkgname-$pkgver"
        cd build
        make install
}