summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5edd54ba937e81c605db0d8f7da01ea7492a3e1d (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: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com>

_pkgname=eigen_stl_containers
pkgname=ros2-humble-eigen-stl-containers
pkgver=1.0.0
pkgrel=4
pkgdesc="This package provides a set of typedef's that allow using Eigen datatypes in STL containers"
url="https://index.ros.org/p/eigen_stl_containers/"
arch=('any')
depends=(
    'ros2-humble'
    'eigen'
)
makedepends=('cmake')
source=("https://github.com/ros/eigen_stl_containers/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('4780665fa22d7924072ae2fa22d98a32870becb15ce4e68c08c2de923a184583')


build() {
    source /opt/ros/humble/setup.bash

    cmake -B build -S "$_pkgname-$pkgver" \
        -DCMAKE_BUILD_TYPE='None' \
        -DCMAKE_INSTALL_PREFIX='/opt/ros/humble' \
        -Wno-dev
    
    cmake --build build
}

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