summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Greenslade2017-02-12 16:27:37 -0800
committerSean Greenslade2017-02-12 16:32:23 -0800
commitae0ba554c5d778239aae5eaee1e4e5c1936167d3 (patch)
tree860d543686d9b61abead0e174a2495f1dba7b4e1
downloadaur-ae0ba554c5d778239aae5eaee1e4e5c1936167d3.tar.gz
Initial commit
-rw-r--r--.SRCINFO53
-rw-r--r--PKGBUILD94
2 files changed, 147 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d1a1aa84c37
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,53 @@
+# Generated by mksrcinfo v8
+# Mon Feb 13 00:31:52 UTC 2017
+pkgbase = ros-kinetic-costmap-2d
+ pkgdesc = ROS - This package provides an implementation of a 2D costmap
+ pkgver = 1.14.0
+ pkgrel = 1
+ url = http://wiki.ros.org/costmap_2d
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = ros-build-tools
+ makedepends = ros-kinetic-message-filters
+ makedepends = ros-kinetic-visualization-msgs
+ makedepends = ros-kinetic-pcl-conversions
+ makedepends = ros-kinetic-cmake-modules
+ makedepends = ros-kinetic-nav-msgs
+ makedepends = ros-kinetic-message-generation
+ makedepends = ros-kinetic-tf
+ makedepends = ros-kinetic-geometry-msgs
+ makedepends = ros-kinetic-roscpp
+ makedepends = ros-kinetic-std-msgs
+ makedepends = ros-kinetic-pluginlib
+ makedepends = ros-kinetic-dynamic-reconfigure
+ makedepends = ros-kinetic-map-msgs
+ makedepends = ros-kinetic-sensor-msgs
+ makedepends = ros-kinetic-voxel-grid
+ makedepends = ros-kinetic-catkin
+ makedepends = ros-kinetic-pcl-ros
+ makedepends = ros-kinetic-rostest
+ makedepends = ros-kinetic-laser-geometry
+ depends = ros-kinetic-message-filters
+ depends = ros-kinetic-visualization-msgs
+ depends = ros-kinetic-pcl-conversions
+ depends = ros-kinetic-nav-msgs
+ depends = ros-kinetic-tf
+ depends = ros-kinetic-geometry-msgs
+ depends = ros-kinetic-roscpp
+ depends = ros-kinetic-message-runtime
+ depends = ros-kinetic-std-msgs
+ depends = ros-kinetic-pluginlib
+ depends = ros-kinetic-dynamic-reconfigure
+ depends = ros-kinetic-rostest
+ depends = ros-kinetic-map-msgs
+ depends = ros-kinetic-sensor-msgs
+ depends = ros-kinetic-voxel-grid
+ depends = ros-kinetic-pcl-ros
+ depends = ros-kinetic-rosconsole
+ depends = ros-kinetic-laser-geometry
+ source = ros-kinetic-costmap-2d-1.14.0-0.tar.gz::https://github.com/ros-gbp/navigation-release/archive/release/kinetic/costmap_2d/1.14.0-0.tar.gz
+ sha256sums = 9feba9845d06711e12d90b28300db2a05fc3e0d2f6c318d1e218674b71cd70c2
+
+pkgname = ros-kinetic-costmap-2d
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..63e898da3d1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,94 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - This package provides an implementation of a 2D costmap"
+url='http://wiki.ros.org/costmap_2d'
+
+pkgname='ros-kinetic-costmap-2d'
+pkgver='1.14.0'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-kinetic-message-filters
+ ros-kinetic-visualization-msgs
+ ros-kinetic-pcl-conversions
+ ros-kinetic-cmake-modules
+ ros-kinetic-nav-msgs
+ ros-kinetic-message-generation
+ ros-kinetic-tf
+ ros-kinetic-geometry-msgs
+ ros-kinetic-roscpp
+ ros-kinetic-std-msgs
+ ros-kinetic-pluginlib
+ ros-kinetic-dynamic-reconfigure
+ ros-kinetic-map-msgs
+ ros-kinetic-sensor-msgs
+ ros-kinetic-voxel-grid
+ ros-kinetic-catkin
+ ros-kinetic-pcl-ros
+ ros-kinetic-rostest
+ ros-kinetic-laser-geometry)
+makedepends=('cmake' 'ros-build-tools'
+ ${ros_makedepends[@]})
+
+ros_depends=(ros-kinetic-message-filters
+ ros-kinetic-visualization-msgs
+ ros-kinetic-pcl-conversions
+ ros-kinetic-nav-msgs
+ ros-kinetic-tf
+ ros-kinetic-geometry-msgs
+ ros-kinetic-roscpp
+ ros-kinetic-message-runtime
+ ros-kinetic-std-msgs
+ ros-kinetic-pluginlib
+ ros-kinetic-dynamic-reconfigure
+ ros-kinetic-rostest
+ ros-kinetic-map-msgs
+ ros-kinetic-sensor-msgs
+ ros-kinetic-voxel-grid
+ ros-kinetic-pcl-ros
+ ros-kinetic-rosconsole
+ ros-kinetic-laser-geometry)
+depends=(${ros_depends[@]})
+
+# Git version (e.g. for debugging)
+# _tag=release/kinetic/costmap_2d/${pkgver}-${_pkgver_patch}
+# _dir=${pkgname}
+# source=("${_dir}"::"git+https://github.com/ros-gbp/navigation-release.git"#tag=${_tag})
+# sha256sums=('SKIP')
+
+# Tarball version (faster download)
+_dir="navigation-release-release-kinetic-costmap_2d-${pkgver}-${_pkgver_patch}"
+source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/navigation-release/archive/release/kinetic/costmap_2d/${pkgver}-${_pkgver_patch}.tar.gz")
+sha256sums=('9feba9845d06711e12d90b28300db2a05fc3e0d2f6c318d1e218674b71cd70c2')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/kinetic/setup.bash ] && source /opt/ros/kinetic/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/kinetic \
+ -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
+}