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
commit9df8c527322a0418de884c8b7cec52ca4d3c0b58 (patch)
tree9bd3f404c4ede158b21b02371397a87fdfd11f4c /PKGBUILD
parent3df05ccc5fb0f2d6bd486007a27b60f24646936a (diff)
downloadaur-9df8c527322a0418de884c8b7cec52ca4d3c0b58.tar.gz
Update to version 0.4.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3a2cd58bd6c..2a8d0171200 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,8 +14,11 @@ ros_makedepends=(ros-ardent-ament-cmake-core)
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
-ros_depends=()
-depends=(${ros_depends[@]})
+ros_depends=(ros-ardent-ament-cmake-test
+ ros-ardent-ament-cmake-gtest
+ ros-ardent-gmock-vendor)
+depends=(${ros_depends[@]}
+ gmock)
# Git version (e.g. for debugging)
# _tag=release/ardent/ament_cmake_gmock/${pkgver}-${_pkgver_patch}
@@ -40,17 +43,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
}