summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoracxz2020-05-24 12:18:49 -0400
committeracxz2020-05-24 12:18:49 -0400
commit046dfac370727591b0c03797aa85a593745f52a8 (patch)
tree4409a315e11a43ef0879896e18e63845859b1161 /PKGBUILD
parentf82dda1e0ff011fb0a4fad4d1727708c7d25ddf8 (diff)
downloadaur-ros-noetic-stage.tar.gz
upd to noetic, cmake vars, python
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ca4572c5854..811adede180 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgdesc="ROS - Mobile robot simulator http://rtvhub.com/Stage."
url='https://wiki.ros.org/stage'
-pkgname='ros-melodic-stage'
+pkgname='ros-noetic-stage'
pkgver='4.3.0'
arch=('any')
pkgrel=3
@@ -19,7 +19,7 @@ makedepends=('cmake' 'ros-build-tools'
mesa
pkg-config)
-ros_depends=(ros-melodic-catkin)
+ros_depends=(ros-noetic-catkin)
depends=(${ros_depends[@]}
libjpeg-turbo
mesa
@@ -33,21 +33,17 @@ sha256sums=('f32cb6887146441fd34671975fa81ea76438ce447bc68a0a6a1b62b5233ad2d6')
build() {
# Use ROS environment variables
source /usr/share/ros-build-tools/clear-ros-env.sh
- [ -f /opt/ros/melodic/setup.bash ] && source /opt/ros/melodic/setup.bash
+ [ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash
# Create build directory
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
- # Fix Python2/Python3 conflicts
- /usr/share/ros-build-tools/fix-python-scripts.sh -v 3 ${srcdir}/${_dir}
-
# Build project
cmake ${srcdir}/${_dir} \
- -DCMAKE_BUILD_TYPE=Release \
-DCATKIN_BUILD_BINARY_PACKAGE=ON \
- -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \
- -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
+ -DPYTHON_EXECUTABLE=/usr/bin/python \
-DSETUPTOOLS_DEB_LAYOUT=OFF
make
}