# Maintainer: Angelo Elias Dal Zotto _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 }