# Maintainer: Angelo Elias Dal Zotto _pkgname=nav2_navfn_planner pkgname=ros2-humble-nav2-navfn-planner pkgver=1.1.6 pkgrel=1 pkgdesc="TODO" url="https://index.ros.org/p/nav2_navfn_planner/" arch=('any') depends=( 'ros2-humble' 'ros2-humble-nav2-util' 'ros2-humble-nav2-msgs' 'ros2-humble-nav2-common' 'ros2-humble-nav2-costmap-2d' 'ros2-humble-nav2-core' ) source=("https://github.com/ros-planning/navigation2/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('43abfa0eba8e3862e9f69e39399b0b6b627d2fa44faede494b09b7ee8c2626c1') prepare() { source /opt/ros/humble/setup.bash cmake -S navigation2-$pkgver/$_pkgname -B build \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/opt/ros/humble } build() { make -C build } package() { make DESTDIR="$pkgdir/" -C build install }