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
commitdf976f4e45c07fcb172be304861e6121c651a2ec (patch)
treee8c4f5fbf1b23c708e97a139e49ab8e35c75237a /PKGBUILD
parent8271168f4a0c11c5dda7de554568b7217decb598 (diff)
downloadaur-df976f4e45c07fcb172be304861e6121c651a2ec.tar.gz
Update to version 1.4.0-8
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cfb17d8d83d..1f8e933bfa2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,8 +16,8 @@ makedepends=('cmake' 'ros-build-tools'
ros_depends=()
depends=(${ros_depends[@]}
- eigen3
- pkg-config)
+ pkg-config
+ eigen3)
# Git version (e.g. for debugging)
# _tag=release/ardent/orocos_kdl/${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
}