summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Reignier2015-08-26 21:20:33 +0200
committerRomain Reignier2015-08-26 21:20:33 +0200
commit821a0c3345e7d56027c0c9eb8cfddc724a345763 (patch)
treede9d9319c58d2f949f3b6c011b968fd4354cba06
downloadaur-821a0c3345e7d56027c0c9eb8cfddc724a345763.tar.gz
Initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD60
2 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cddc138d6d4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = ros-indigo-interactive-marker-twist-server
+ pkgdesc = ROS - Interactive control for generic Twist-based robots using interactive markers.
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = http://www.ros.org/
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-indigo-interactive-markers
+ makedepends = ros-indigo-roscpp
+ makedepends = ros-indigo-roslint
+ makedepends = ros-indigo-catkin
+ makedepends = ros-indigo-roslaunch
+ makedepends = ros-indigo-visualization-msgs
+ depends = ros-indigo-interactive-markers
+ depends = ros-indigo-visualization-msgs
+ depends = ros-indigo-roscpp
+ source = interactive_marker_twist_server::git+https://github.com/ros-gbp/interactive_marker_twist_server-release.git#tag=release/indigo/interactive_marker_twist_server/1.0.0-0
+ md5sums = SKIP
+
+pkgname = ros-indigo-interactive-marker-twist-server
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b335a84e479
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,60 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - Interactive control for generic Twist-based robots using interactive markers."
+url='http://www.ros.org/'
+
+pkgname='ros-indigo-interactive-marker-twist-server'
+pkgver='1.0.0'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-indigo-interactive-markers
+ ros-indigo-roscpp
+ ros-indigo-roslint
+ ros-indigo-catkin
+ ros-indigo-roslaunch
+ ros-indigo-visualization-msgs)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]})
+
+ros_depends=(ros-indigo-interactive-markers
+ ros-indigo-visualization-msgs
+ ros-indigo-roscpp)
+depends=(${ros_depends[@]})
+
+_tag=release/indigo/interactive_marker_twist_server/${pkgver}-${_pkgver_patch}
+_dir=interactive_marker_twist_server
+source=("${_dir}"::"git+https://github.com/ros-gbp/interactive_marker_twist_server-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=-python2.7 \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}