diff options
author | acxz | 2020-05-24 12:18:27 -0400 |
---|---|---|
committer | acxz | 2020-05-24 12:18:27 -0400 |
commit | 8742cb981fa70f0f533ddba643cbd66c92510f3c (patch) | |
tree | 6c8f872fa0c5ca20c555fda929023cb4e236150f /PKGBUILD | |
parent | 768912906497f81526123ca06bb469b3b206547e (diff) | |
download | aur-ros-noetic-socketcan-interface.tar.gz |
upd to noetic, cmake vars, python
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -1,21 +1,21 @@ # Maintainer: michaelchou <michaeljchou at the hotmail domain which is .com> # Contributor: michaelchou <michaeljchou at the hotmail domain which is .com> -pkgname=ros-melodic-socketcan-interface +pkgname=ros-noetic-socketcan-interface pkgdesc='Generic CAN interface description with helpers for filtering and driver implementation. Further a socketcan implementation based on boost::asio is included.' -url="http://wiki.ros.org/socketcan_interface?distro=melodic" +url="http://wiki.ros.org/socketcan_interface?distro=noetic" pkgver='0.8.1' pkgrel=3 arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h') license=('LGPL3') -ros_makedepends=( ros-melodic-catkin +ros_makedepends=( ros-noetic-catkin ) makedepends=(cmake ros-build-tools ${ros_makedepends[@]}) ros_depends=( - ros-melodic-class-loader + ros-noetic-class-loader ) depends=(boost linux-headers ${ros_depends[@]}) @@ -26,21 +26,17 @@ sha256sums=('aa75077452abea1848405906c989eca2e539943c2d1cc1e6f1d72f8facc74390') 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 } |