diff options
author | Angelo Elias Dal Zotto | 2023-03-14 17:46:46 -0300 |
---|---|---|
committer | Angelo Elias Dal Zotto | 2023-03-14 17:46:46 -0300 |
commit | 0bd16154e27700d6a3ea20ec877c4708f172ae70 (patch) | |
tree | 369e954bd0dec3853b9495e5c6adc3ed9247d4c0 | |
download | aur-0bd16154e27700d6a3ea20ec877c4708f172ae70.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..21a18c7fa278 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = ros2-humble-nav2-util + pkgdesc = TODO + pkgver = 1.1.6 + pkgrel = 1 + url = https://index.ros.org/p/nav2_util/ + arch = any + makedepends = boost + depends = ros2-humble + depends = ros2-humble-nav2-common + depends = ros2-humble-nav2-msgs + depends = ros2-humble-bondcpp + depends = ros2-humble-bond + depends = boost-libs + source = https://github.com/ros-planning/navigation2/archive/refs/tags/1.1.6.tar.gz + sha256sums = 43abfa0eba8e3862e9f69e39399b0b6b627d2fa44faede494b09b7ee8c2626c1 + +pkgname = ros2-humble-nav2-util diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dc34eaa35b84 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com> + +_pkgname=nav2_util +pkgname=ros2-humble-nav2-util +pkgver=1.1.6 +pkgrel=1 +pkgdesc="TODO" +url="https://index.ros.org/p/nav2_util/" +arch=('any') +makedepends=( + 'boost' +) +depends=( + 'ros2-humble' + 'ros2-humble-nav2-common' + 'ros2-humble-nav2-msgs' + 'ros2-humble-bondcpp' + 'ros2-humble-bond' + 'boost-libs' +) +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 +} |