summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 21 insertions, 25 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6edb1c17377..7ddf52b4643 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,30 +3,30 @@
pkgdesc="ROS - The rotors_gazebo_plugins package"
url='https://wiki.ros.org/rotors_gazebo_plugins'
-pkgname='ros-melodic-rotors-gazebo-plugins'
+pkgname='ros-noetic-rotors-gazebo-plugins'
pkgver='2.2.3'
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
pkgrel=1
license=('ASL 2.0')
ros_makedepends=(
- ros-melodic-catkin
- ros-melodic-cmake-modules
- ros-melodic-cv-bridge
- ros-melodic-gazebo-plugins
- ros-melodic-gazebo-ros
- ros-melodic-geometry-msgs
- ros-melodic-mavros
- ros-melodic-mav-msgs
- ros-melodic-octomap-msgs
- ros-melodic-octomap-ros
- ros-melodic-octomap
- ros-melodic-rosbag
- ros-melodic-roscpp
- ros-melodic-rotors-comm
- ros-melodic-rotors-control
- ros-melodic-std-srvs
- ros-melodic-tf
+ ros-noetic-catkin
+ ros-noetic-cmake-modules
+ ros-noetic-cv-bridge
+ ros-noetic-gazebo-plugins
+ ros-noetic-gazebo-ros
+ ros-noetic-geometry-msgs
+ ros-noetic-mavros
+ ros-noetic-mav-msgs
+ ros-noetic-octomap-msgs
+ ros-noetic-octomap-ros
+ ros-noetic-octomap
+ ros-noetic-rosbag
+ ros-noetic-roscpp
+ ros-noetic-rotors-comm
+ ros-noetic-rotors-control
+ ros-noetic-std-srvs
+ ros-noetic-tf
)
makedepends=(
@@ -53,21 +53,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
}