diff options
author | acxz | 2020-05-24 19:02:49 -0400 |
---|---|---|
committer | acxz | 2020-05-24 19:02:49 -0400 |
commit | d086b71ae1463c980f467da7917381745f4c2102 (patch) | |
tree | 5049b4afc699a6fe04dcfad5c3719f017829a22f /PKGBUILD | |
parent | 74acff944d74cc5148feaf173ca6c9ab706f701c (diff) | |
download | aur-d086b71ae1463c980f467da7917381745f4c2102.tar.gz |
upd to noetic, cmake vars, python
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -1,14 +1,14 @@ pkgdesc="ROS - The catkinized verseion of openslam_gmapping package." url='https://wiki.ros.org/openslam_gmapping' -pkgname='ros-melodic-openslam-gmapping' +pkgname='ros-noetic-openslam-gmapping' pkgver='0.2.1' arch=('any') pkgrel=1 license=('BSD') ros_makedepends=( - ros-melodic-catkin + ros-noetic-catkin ) makedepends=( @@ -31,24 +31,17 @@ sha256sums=('37c07b582eee37109c2dbdc3d76fac1fcfb9acc3ab9b2001d31f98ed89583d94') 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 the 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 the project. cmake ${srcdir}/${_dir} \ - -DCMAKE_BUILD_TYPE=Release \ -DCATKIN_BUILD_BINARY_PACKAGE=ON \ - -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \ - -DPYTHON_EXECUTABLE=/usr/bin/python3 \ - -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \ - -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \ - -DPYTHON_BASENAME=.cpython-37m \ + -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \ + -DPYTHON_EXECUTABLE=/usr/bin/python \ -DSETUPTOOLS_DEB_LAYOUT=OFF make } |