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
commit628b699ba14b784b78e22f3a8f1e9d86ec9ac380 (patch)
tree8eda1c5361cad82f8745c5539cce8660d55b40fb /PKGBUILD
parent0b0096687378bf82c088edf07747cb470ffe35f4 (diff)
downloadaur-ros-ardent-fastrtps.tar.gz
Update to version 1.5.0-11
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 759c8745638..3d0dc197ff6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,8 +16,8 @@ makedepends=('cmake' 'ros-build-tools'
ros_depends=(ros-ardent-fastcdr)
depends=(${ros_depends[@]}
- tinyxml2
- asio)
+ asio
+ tinyxml2)
# Git version (e.g. for debugging)
# _tag=release/ardent/fastrtps/${pkgver}-${_pkgver_patch}
@@ -42,17 +42,13 @@ 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
+
# 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
}