summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Elias Dal Zotto2023-06-10 13:15:40 -0300
committerAngelo Elias Dal Zotto2023-06-10 13:15:40 -0300
commit2b7a42dfe1ccb667c45b2ac85eea61680de0935b (patch)
treef92bd9cb6ea63e8a2fb6a035fb3a47a2f3cce4b5
parent9bd37784970741dcf2d28b06eebea5a13cf574ec (diff)
downloadaur-2b7a42dfe1ccb667c45b2ac85eea61680de0935b.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 b05ebcc314a9..c21ad3e961e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros2-humble-nav2-simple-commander
pkgdesc = An importable library for writing mobile robot applications in python3
pkgver = 1.1.7
- pkgrel = 1
+ pkgrel = 2
url = https://index.ros.org/p/nav2_simple_commander/
arch = any
makedepends = python-pytest
diff --git a/PKGBUILD b/PKGBUILD
index 155fc6febd20..68375fda6896 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgroot=navigation2
_pkgname=nav2_simple_commander
pkgname=ros2-humble-nav2-simple-commander
pkgver=1.1.7
-pkgrel=1
+pkgrel=2
pkgdesc="An importable library for writing mobile robot applications in python3"
url="https://index.ros.org/p/nav2_simple_commander/"
arch=('any')
@@ -16,11 +16,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' \