summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Reignier2015-08-28 21:02:53 +0200
committerRomain Reignier2015-08-28 21:02:53 +0200
commita5a3f20bbfe6f4730f9580b295eeb561196b594c (patch)
treea6de99bd4ab55244278092710c5b3ffb32e2fdab
downloadaur-a5a3f20bbfe6f4730f9580b295eeb561196b594c.tar.gz
Initial commit
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD66
2 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ebff2c09fe1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = ros-indigo-rotate-recovery
+ pkgdesc = ROS - This package provides a recovery behavior for the navigation stack that attempts to clear space by performing a 360 degree rotation of the robot.
+ pkgver = 1.11.11
+ pkgrel = 1
+ url = http://wiki.ros.org/rotate_recovery
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-indigo-nav-core
+ makedepends = ros-indigo-roscpp
+ makedepends = ros-indigo-base-local-planner
+ makedepends = ros-indigo-costmap-2d
+ makedepends = ros-indigo-catkin
+ makedepends = ros-indigo-cmake-modules
+ makedepends = ros-indigo-tf
+ makedepends = ros-indigo-pluginlib
+ makedepends = eigen3
+ depends = ros-indigo-nav-core
+ depends = ros-indigo-tf
+ depends = ros-indigo-pluginlib
+ depends = ros-indigo-roscpp
+ depends = ros-indigo-costmap-2d
+ depends = eigen3
+ source = rotate_recovery::git+https://github.com/ros-gbp/navigation-release.git#tag=release/indigo/rotate_recovery/1.11.11-0
+ md5sums = SKIP
+
+pkgname = ros-indigo-rotate-recovery
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..30b1ef45406
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,66 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - This package provides a recovery behavior for the navigation stack that attempts to clear space by performing a 360 degree rotation of the robot."
+url='http://wiki.ros.org/rotate_recovery'
+
+pkgname='ros-indigo-rotate-recovery'
+pkgver='1.11.11'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-indigo-nav-core
+ ros-indigo-roscpp
+ ros-indigo-base-local-planner
+ ros-indigo-costmap-2d
+ ros-indigo-catkin
+ ros-indigo-cmake-modules
+ ros-indigo-tf
+ ros-indigo-pluginlib)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ eigen3)
+
+ros_depends=(ros-indigo-nav-core
+ ros-indigo-tf
+ ros-indigo-pluginlib
+ ros-indigo-roscpp
+ ros-indigo-costmap-2d)
+depends=(${ros_depends[@]}
+ eigen3)
+
+_tag=release/indigo/rotate_recovery/${pkgver}-${_pkgver_patch}
+_dir=rotate_recovery
+source=("${_dir}"::"git+https://github.com/ros-gbp/navigation-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 \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}
+