summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Elias Dal Zotto2023-06-10 13:15:14 -0300
committerAngelo Elias Dal Zotto2023-06-10 13:15:14 -0300
commit99856911af2d5f15b97238b24def744aa6a98424 (patch)
tree4b48baa0296f236593f31c9e1e24d7d77dc9ddf5
parent7be9039eebdd12e08f72ed2eadf5725b9a5429f3 (diff)
downloadaur-ros2-humble-nav2-rotation-shim-controller.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 ba88cae11305..82b450bb92e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros2-humble-nav2-rotation-shim-controller
pkgdesc = Rotation Shim Controller
pkgver = 1.1.7
- pkgrel = 1
+ pkgrel = 2
url = https://index.ros.org/p/nav2_rotation_shim_controller/
arch = any
makedepends = ros2-humble-nav2-regulated-pure-pursuit-controller
diff --git a/PKGBUILD b/PKGBUILD
index 455e05acb2ad..df84b55ee7e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgroot=navigation2
_pkgname=nav2_rotation_shim_controller
pkgname=ros2-humble-nav2-rotation-shim-controller
pkgver=1.1.7
-pkgrel=1
+pkgrel=2
pkgdesc="Rotation Shim Controller"
url="https://index.ros.org/p/nav2_rotation_shim_controller/"
arch=('any')
@@ -25,11 +25,10 @@ depends=(
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' \