summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHermann von Kleist2020-05-10 01:12:20 +0200
committerHermann von Kleist2020-05-10 01:12:20 +0200
commit8434de00e6e2997839ade2844163b79bf554341e (patch)
tree4f0efc0e0439f151708054c96c4116a6d55abf74 /PKGBUILD
parentb24bf56c08555450eaf23040b16dee62eb61a842 (diff)
downloadaur-8434de00e6e2997839ade2844163b79bf554341e.tar.gz
Update to 1.15.4 and noetic
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4889fa65a27..929668cd7bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,14 @@
pkgdesc="ROS - ROS Master implementation."
url='https://wiki.ros.org/rosmaster'
-pkgname='ros-melodic-rosmaster'
-pkgver='1.14.3'
+pkgname='ros-noetic-rosmaster'
+pkgver='1.15.4'
arch=('any')
pkgrel=1
license=('BSD')
ros_makedepends=(
- ros-melodic-catkin
+ ros-noetic-catkin
)
makedepends=(
@@ -20,7 +20,7 @@ makedepends=(
)
ros_depends=(
- ros-melodic-rosgraph
+ ros-noetic-rosgraph
)
depends=(
@@ -30,29 +30,23 @@ depends=(
_dir="ros_comm-${pkgver}/tools/rosmaster"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros/ros_comm/archive/${pkgver}.tar.gz")
-sha256sums=('3e49bef96b8a0f9684e5c4f1736d171e9c8842a3979d5d3c6442b53698e8167f')
+sha256sums=('d5c96a81e0c8554b77666bca5dcc68e03083a761a117038ff9b65f9643751c9e')
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 \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
- -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \
- -DPYTHON_BASENAME=.cpython-37m \
-DSETUPTOOLS_DEB_LAYOUT=OFF
make
}