summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4cadee63c393599a00eba4a2efff714ed1fc6aa2 (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
# Maintainer: oysstu <oysstu a gmail.com>
# Contributor: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Sven Schneider <archlinux.sandmann@googlemail.com>

pkgname=orocos-kdl
pkgver=1.5.3
pkgrel=2
pkgdesc="The Kinematics and Dynamics Library is a framework for modelling and computation of kinematic chains"
url="https://www.orocos.org/kdl.html"
arch=('any')
license=('LGPL-2.1-or-later')
depends=('eigen')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/orocos/orocos_kinematics_dynamics/archive/${pkgver}.tar.gz")
sha256sums=('3895eed1b51a6803c79e7ac4acd6a2243d621b887ac26a1a6b82a86a1131c3b6')

_dir=orocos_kinematics_dynamics
_pkgname=orocos_kdl

build() {
  cmake -B build -S "${srcdir}/${_dir}-${pkgver}/${_pkgname}" \
    -DCMAKE_BUILD_TYPE='None' \
    -DCMAKE_INSTALL_PREFIX='/usr' \
    -DENABLE_TESTS:BOOL=OFF \
    -DENABLE_EXAMPLES:BOOL=OFF

  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}