summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Elias Dal Zotto2023-06-10 13:15:27 -0300
committerAngelo Elias Dal Zotto2023-06-10 13:15:27 -0300
commit521b8e9b9648a27f2c6a91a2cd85bc2863ea1e6c (patch)
tree97116fb6b0fd93c296fcab5503a64287823d953d
parent12ac3f2c46e0925ff8281b46dfd1525e0e421bc0 (diff)
downloadaur-ros2-humble-nav2-rviz-plugins.tar.gz
update build
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 18355b3eabce..78905e564870 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros2-humble-nav2-rviz-plugins
pkgdesc = Navigation 2 plugins for rviz
pkgver = 1.1.7
- pkgrel = 1
+ pkgrel = 2
url = https://index.ros.org/p/nav2_rviz_plugins/
arch = any
makedepends = cmake
diff --git a/PKGBUILD b/PKGBUILD
index 6f08858a40cc..b502254b8b22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgroot=navigation2
_pkgname=nav2_rviz_plugins
pkgname=ros2-humble-nav2-rviz-plugins
pkgver=1.1.7
-pkgrel=1
+pkgrel=2
pkgdesc="Navigation 2 plugins for rviz"
url="https://index.ros.org/p/nav2_rviz_plugins/"
arch=('any')
@@ -18,11 +18,10 @@ makedepends=('cmake')
source=("https://github.com/ros-planning/navigation2/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('1d89dc1ad7c75d4d1645c882a5aee037ca965908344a158bb9669ad80a85196b')
-prepare() {
- source /opt/ros/humble/setup.bash
-}
build() {
+ source /opt/ros/humble/setup.bash
+
cmake -B build -S "$_pkgroot-$pkgver/$_pkgname" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/opt/ros/humble' \