summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d12022ca536542886235a46500672112c4067153 (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
# Maintainer: Emeric Grange <emeric.grange@gmail.com>

pkgname=smartservoframework
pkgver=0.98
pkgrel=1
pkgdesc="A multi-platform C++ framework used to drive 'smart servo' devices like Dynamixel or HerkuleX actuators."
arch=("armv6h" "i686" "x86_64")
url="https://github.com/emericg/SmartServoFramework"
license=("LGPL3")
makedepends=("cmake")

source=("https://github.com/emericg/SmartServoFramework/archive/v${pkgver}.tar.gz")
sha256sums=('2e3dcc667e7decde7e4e7b0b45c660029930c5cc339d288b0b454838ea89e0fb')

build() {
  mkdir -p "SmartServoFramework-${pkgver}"
  cd SmartServoFramework-${pkgver}/build/

  cmake -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "SmartServoFramework-${pkgver}/build/"
  make DESTDIR="${pkgdir}" install
}