summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pospíšil2015-06-09 18:41:28 +0200
committerMartin Pospíšil2015-06-09 18:41:28 +0200
commit535ab7f99494ba50d06c0e1fe2882e1cc6f02f18 (patch)
treee7821a51044483f3a1b139a3b0af976d9970bb35
downloadaur-535ab7f99494ba50d06c0e1fe2882e1cc6f02f18.tar.gz
Initial import
-rw-r--r--.SRCINFO41
-rw-r--r--PKGBUILD77
2 files changed, 118 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..63c69a73c99
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,41 @@
+pkgbase = ros-indigo-moveit-ros-manipulation
+ pkgdesc = ROS - Components of MoveIt used for manipulation.
+ pkgver = 0.6.5
+ pkgrel = 1
+ url = http://moveit.ros.org
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-indigo-tf
+ makedepends = ros-indigo-roscpp
+ makedepends = ros-indigo-moveit-msgs
+ makedepends = ros-indigo-manipulation-msgs
+ makedepends = ros-indigo-catkin
+ makedepends = ros-indigo-moveit-ros-move-group
+ makedepends = ros-indigo-rosconsole
+ makedepends = ros-indigo-actionlib
+ makedepends = ros-indigo-moveit-ros-planning
+ makedepends = ros-indigo-moveit-core
+ makedepends = ros-indigo-household-objects-database-msgs
+ makedepends = ros-indigo-cmake-modules
+ makedepends = ros-indigo-dynamic-reconfigure
+ makedepends = ros-indigo-pluginlib
+ depends = ros-indigo-tf
+ depends = ros-indigo-roscpp
+ depends = ros-indigo-moveit-msgs
+ depends = ros-indigo-manipulation-msgs
+ depends = ros-indigo-moveit-ros-move-group
+ depends = ros-indigo-rosconsole
+ depends = ros-indigo-actionlib
+ depends = ros-indigo-moveit-ros-planning
+ depends = ros-indigo-moveit-core
+ depends = ros-indigo-household-objects-database-msgs
+ depends = ros-indigo-dynamic-reconfigure
+ depends = ros-indigo-pluginlib
+ source = moveit_ros_manipulation::git+https://github.com/ros-gbp/moveit_ros-release.git#tag=release/indigo/moveit_ros_manipulation/0.6.5-0
+ md5sums = SKIP
+
+pkgname = ros-indigo-moveit-ros-manipulation
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d1e23273dea
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,77 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - Components of MoveIt used for manipulation."
+url='http://moveit.ros.org'
+
+pkgname='ros-indigo-moveit-ros-manipulation'
+pkgver='0.6.5'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-indigo-tf
+ ros-indigo-roscpp
+ ros-indigo-moveit-msgs
+ ros-indigo-manipulation-msgs
+ ros-indigo-catkin
+ ros-indigo-moveit-ros-move-group
+ ros-indigo-rosconsole
+ ros-indigo-actionlib
+ ros-indigo-moveit-ros-planning
+ ros-indigo-moveit-core
+ ros-indigo-household-objects-database-msgs
+ ros-indigo-cmake-modules
+ ros-indigo-dynamic-reconfigure
+ ros-indigo-pluginlib)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]})
+
+ros_depends=(ros-indigo-tf
+ ros-indigo-roscpp
+ ros-indigo-moveit-msgs
+ ros-indigo-manipulation-msgs
+ ros-indigo-moveit-ros-move-group
+ ros-indigo-rosconsole
+ ros-indigo-actionlib
+ ros-indigo-moveit-ros-planning
+ ros-indigo-moveit-core
+ ros-indigo-household-objects-database-msgs
+ ros-indigo-dynamic-reconfigure
+ ros-indigo-pluginlib)
+depends=(${ros_depends[@]})
+
+_tag=release/indigo/moveit_ros_manipulation/${pkgver}-${_pkgver_patch}
+_dir=moveit_ros_manipulation
+source=("${_dir}"::"git+https://github.com/ros-gbp/moveit_ros-release.git"#tag=${_tag})
+md5sums=('SKIP')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/indigo/setup.bash ] && source /opt/ros/indigo/setup.bash
+
+ # Create build directory
+ [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
+ cd ${srcdir}/build
+
+ # Fix Python2/Python3 conflicts
+ /usr/share/ros-build-tools/fix-python-scripts.sh -v 2 ${srcdir}/${_dir}
+
+ # Build project
+ cmake ${srcdir}/${_dir} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DPYTHON_BASENAME=-lpython2.7 \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}