diff options
author | Angelo Elias Dal Zotto | 2023-03-14 17:51:53 -0300 |
---|---|---|
committer | Angelo Elias Dal Zotto | 2023-03-14 17:51:53 -0300 |
commit | 2a5e7c7324561024dda4b3d8dff37ac9c142add4 (patch) | |
tree | 486f978214492594705b0601fe4f9268879c1b56 | |
download | aur-2a5e7c7324561024dda4b3d8dff37ac9c142add4.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5f5f2ceba911 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = ros2-humble-nav2-smac-planner + pkgdesc = Smac global planning plugin: A*, Hybrid-A*, State Lattice + pkgver = 1.1.6 + pkgrel = 1 + url = https://index.ros.org/p/nav2_smac_planner/ + arch = any + depends = ros2-humble + depends = ros2-humble-nav2-util + depends = ros2-humble-nav2-msgs + depends = ros2-humble-nav2-common + depends = ros2-humble-nav2-costmap-2d + depends = ros2-humble-nav2-core + depends = ompl + depends = nlohmann-json + depends = ros2-humble-angles + depends = eigen + source = https://github.com/ros-planning/navigation2/archive/refs/tags/1.1.6.tar.gz + sha256sums = 43abfa0eba8e3862e9f69e39399b0b6b627d2fa44faede494b09b7ee8c2626c1 + +pkgname = ros2-humble-nav2-smac-planner diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5c52b9bd11d1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com> + +_pkgname=nav2_smac_planner +pkgname=ros2-humble-nav2-smac-planner +pkgver=1.1.6 +pkgrel=1 +pkgdesc="Smac global planning plugin: A*, Hybrid-A*, State Lattice" +url="https://index.ros.org/p/nav2_smac_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' + 'ompl' + 'nlohmann-json' + 'ros2-humble-angles' + 'eigen' +) +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 +} |