summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f63ff9e03c7e4a30f5a47c764dfb4a7973a2fa7a (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
# Maintainer: Guilhem Saurel <saurel@laas.fr>

pkgname=hpp-constraints
pkgver=3.2
pkgrel=1
pkgdesc="Definition of basic geometric constraints for motion planning"
arch=('i686' 'x86_64')
url="https://github.com/humanoid-path-planner/$pkgname"
license=('LGPL3')
depends=('hpp-model')
optdepends=()
makedepends=('cmake')
source=("https://github.com/humanoid-path-planner/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('044c5f20da37f6cc2ccd903fb29a6dc5')

build() {
    cd "$pkgname-$pkgver"
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
        -DUSE_QPOASES=FALSE .
    make
}

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