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

pkgname=hpp-model-urdf
pkgver=3.2
pkgrel=2
pkgdesc="Implements a library that allows you to load an hpp-model robot by parsing an urdf robot model file."
arch=('i686' 'x86_64')
url="https://github.com/humanoid-path-planner/$pkgname"
license=('LGPL3')
depends=('assimp' 'hpp-util-git' 'hpp-model' 'urdf-git' 'resource-retriever' 'urdfdom' 'srdfdom-git')
makedepends=('cmake')
source=("https://github.com/humanoid-path-planner/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('8aaf308502c350640b262e85d25c61c9')

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

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