summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2015-10-23 20:07:15 +0900
committerBenjamin Chr├ętien2015-10-23 20:07:15 +0900
commit1314c9d46473b07b3949e0ccad72fdc30f7b6f00 (patch)
treec3ae0082ed6fcc29e436175173b3bd1c08eb6456
downloadaur-1314c9d46473b07b3949e0ccad72fdc30f7b6f00.tar.gz
Initial commit
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD62
2 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8a3024f6981
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = ros-indigo-tf2-kdl
+ pkgdesc = ROS - KDL binding for tf2.
+ pkgver = 0.5.12
+ pkgrel = 1
+ url = http://ros.org/wiki/tf2
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-indigo-cmake-modules
+ makedepends = ros-indigo-catkin
+ makedepends = ros-indigo-tf2
+ makedepends = ros-indigo-orocos-kdl
+ makedepends = ros-indigo-tf2-ros
+ makedepends = eigen3
+ depends = ros-indigo-cmake-modules
+ depends = ros-indigo-tf2
+ depends = ros-indigo-orocos-kdl
+ depends = ros-indigo-tf2-ros
+ depends = eigen3
+ source = tf2_kdl::git+https://github.com/ros-gbp/geometry_experimental-release.git#tag=release/indigo/tf2_kdl/0.5.12-0
+ md5sums = SKIP
+
+pkgname = ros-indigo-tf2-kdl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9b0aabe5fa7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,62 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - KDL binding for tf2."
+url='http://ros.org/wiki/tf2'
+
+pkgname='ros-indigo-tf2-kdl'
+pkgver='0.5.12'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-indigo-cmake-modules
+ ros-indigo-catkin
+ ros-indigo-tf2
+ ros-indigo-orocos-kdl
+ ros-indigo-tf2-ros)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ eigen3)
+
+ros_depends=(ros-indigo-cmake-modules
+ ros-indigo-tf2
+ ros-indigo-orocos-kdl
+ ros-indigo-tf2-ros)
+depends=(${ros_depends[@]}
+ eigen3)
+
+_tag=release/indigo/tf2_kdl/${pkgver}-${_pkgver_patch}
+_dir=tf2_kdl
+source=("${_dir}"::"git+https://github.com/ros-gbp/geometry_experimental-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
+}