summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTim Rakowski2017-12-21 23:29:55 +0100
committerTim Rakowski2017-12-21 23:29:55 +0100
commit1ada62b9ecb2557f13e33d157acf0686b862a345 (patch)
tree57cf5ef5686803ba6200d589930c1437e528f549 /PKGBUILD
parentff269d83cfefd0ddf60e2053f2acb43e9cfe3e0f (diff)
downloadaur-ros-ardent-demo-nodes-cpp.tar.gz
Update to version 0.4.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 660e7e66193e..56d81eb35367 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,13 +16,13 @@ ros_makedepends=(ros-ardent-rmw-implementation-cmake
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
-ros_depends=(ros-ardent-std-msgs
- ros-ardent-sensor-msgs
- ros-ardent-rclcpp
- ros-ardent-rcutils
+ros_depends=(ros-ardent-rosidl-default-runtime
ros-ardent-rmw-implementation
- ros-ardent-rosidl-default-runtime
- ros-ardent-example-interfaces)
+ ros-ardent-rclcpp
+ ros-ardent-example-interfaces
+ ros-ardent-sensor-msgs
+ ros-ardent-std-msgs
+ ros-ardent-rcutils)
depends=(${ros_depends[@]})
# Git version (e.g. for debugging)
@@ -48,17 +48,14 @@ build() {
# Fix Python2/Python3 conflicts
/usr/share/ros-build-tools/fix-python-scripts.sh -v 3 "${srcdir}/${_dir}"
+ export PYTHONPATH=/opt/ros/ardent/lib/python3.6/site-packages
+ export AMENT_PREFIX_PATH=/opt/ros/ardent
+
# Build project
cmake "${srcdir}/${_dir}" \
-DCMAKE_BUILD_TYPE=Release \
- -DCATKIN_BUILD_BINARY_PACKAGE=ON \
- -DCMAKE_INSTALL_PREFIX=/opt/ros/ardent \
- -DPYTHON_EXECUTABLE=/usr/bin/python3 \
- -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.5m.so \
- -DPYTHON_BASENAME=.cpython-35m \
- -DSETUPTOOLS_DEB_LAYOUT=OFF \
- -DCATKIN_ENABLE_TESTING=OFF
+ -DBUILD_TESTING=Off \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/ardent
make
}