summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD21
2 files changed, 12 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2e553daf0eaf..3de672410122 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 19 18:40:42 UTC 2017
+# Thu Dec 21 22:29:53 UTC 2017
pkgbase = ros-ardent-pendulum-msgs
pkgdesc = ROS - Custom messages for real-time pendulum control.
pkgver = 0.4.0
@@ -9,10 +9,10 @@ pkgbase = ros-ardent-pendulum-msgs
license = Apache License 2.0
makedepends = cmake
makedepends = ros-build-tools
- makedepends = ros-ardent-ament-cmake
makedepends = ros-ardent-rosidl-default-generators
- depends = ros-ardent-builtin-interfaces
+ makedepends = ros-ardent-ament-cmake
depends = ros-ardent-rosidl-default-runtime
+ depends = ros-ardent-builtin-interfaces
source = ros-ardent-pendulum-msgs-0.4.0-0.tar.gz::https://github.com/ros2-gbp/demos-release/archive/release/ardent/pendulum_msgs/0.4.0-0.tar.gz
sha256sums = f7d3df7574a3f95a9a920e830897e14d295e713385b21b362558557d9b632f73
diff --git a/PKGBUILD b/PKGBUILD
index 2e3b8971747e..d066d719471d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,13 +10,13 @@ arch=('any')
pkgrel=1
license=('Apache License 2.0')
-ros_makedepends=(ros-ardent-ament-cmake
- ros-ardent-rosidl-default-generators)
+ros_makedepends=(ros-ardent-rosidl-default-generators
+ ros-ardent-ament-cmake)
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
-ros_depends=(ros-ardent-builtin-interfaces
- ros-ardent-rosidl-default-runtime)
+ros_depends=(ros-ardent-rosidl-default-runtime
+ ros-ardent-builtin-interfaces)
depends=(${ros_depends[@]})
# Git version (e.g. for debugging)
@@ -42,17 +42,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
}