summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTim Rakowski2017-12-21 23:29:56 +0100
committerTim Rakowski2017-12-21 23:29:56 +0100
commiteade809ff955acc7ce0611d8fd9242a9782e518b (patch)
tree8f2444095179fbb3d6017ef408ad464b05c329bb /PKGBUILD
parent29a74fc6ea63013806602639a3506da5e131b47e (diff)
downloadaur-eade809ff955acc7ce0611d8fd9242a9782e518b.tar.gz
Update to version 0.4.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 05124406ae6..7463c889c57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,9 +16,9 @@ makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
ros_depends=(ros-ardent-std-msgs
- ros-ardent-builtin-interfaces
ros-ardent-rosidl-default-runtime
- ros-ardent-geometry-msgs)
+ ros-ardent-geometry-msgs
+ ros-ardent-builtin-interfaces)
depends=(${ros_depends[@]})
# Git version (e.g. for debugging)
@@ -44,17 +44,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
}