diff options
author | acxz | 2020-05-24 23:20:55 -0400 |
---|---|---|
committer | acxz | 2020-05-24 23:20:55 -0400 |
commit | d6b413c6f0a12e5d89e3d63e11a03a29624f1ab5 (patch) | |
tree | 8d1bfd1bdacd3aabcea84f1fc2c31ce6580702a2 /PKGBUILD | |
parent | daeb6384026c72a4244e0ce46d6e7d6a2966a487 (diff) | |
download | aur-ros-noetic-rotors-description.tar.gz |
upd to noetic, cmake vars, python
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -4,14 +4,14 @@ pkgdesc="ROS - The rotors_description package provides URDF modles of the AscTec multicopters." url='https://wiki.ros.org/rotors_description' -pkgname='ros-melodic-rotors-description' +pkgname='ros-noetic-rotors-description' pkgver='2.2.3' arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h') pkgrel=1 license=('ASL 2.0') ros_makedepends=( - ros-melodic-catkin + ros-noetic-catkin ) makedepends=( @@ -34,21 +34,17 @@ sha256sums=('46e6be40ebd08ba41a4a532c1774228d240d11aa39ad82f9ab50e445dc4a6f20') 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 \ + -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \ + -DPYTHON_EXECUTABLE=/usr/bin/python \ -DSETUPTOOLS_DEB_LAYOUT=OFF make } |