summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47175da0049b87a20797dd58216310ad2e00cd76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jordan Ayvazian <jaayvazian@gmail.com>
pkgname=lightspp
pkgver=0.2
pkgrel=1
pkgdesc="A C++ API for interacting with phillips hue lights"
arch=('x86_64')
url="https://github.com/jorbo/lightsplusplus"
license=('GPL')
depends=('gcc' 'git' 'libcurlpp' 'jsoncpp')

build() {
  git clone https://github.com/jorbo/lightsplusplus
  cd lightsplusplus
  mkdir build
  cd build
  cmake -DCMAKE_BUILD_TYPE=Release ..
  make
}

package() {
  cd lightsplusplus/build
  sudo cp src/liblightsplusplus.a /usr/lib
}