summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD75
2 files changed, 109 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6d3f2174b5b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+# Generated by mksrcinfo v8
+# Mon May 22 17:06:29 UTC 2017
+pkgbase = ros-lunar-laser-assembler
+ pkgdesc = ROS - Provides nodes to assemble point clouds from either LaserScan or PointCloud messages.
+ pkgver = 1.7.4
+ pkgrel = 1
+ url = http://ros.org/wiki/laser_assembler
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = ros-build-tools
+ makedepends = ros-lunar-message-filters
+ makedepends = ros-lunar-roscpp
+ makedepends = ros-lunar-tf
+ makedepends = ros-lunar-laser-geometry
+ makedepends = ros-lunar-pluginlib
+ makedepends = ros-lunar-filters
+ makedepends = ros-lunar-rostest
+ makedepends = ros-lunar-sensor-msgs
+ makedepends = ros-lunar-catkin
+ makedepends = ros-lunar-message-generation
+ depends = ros-lunar-message-filters
+ depends = ros-lunar-roscpp
+ depends = ros-lunar-tf
+ depends = ros-lunar-laser-geometry
+ depends = ros-lunar-pluginlib
+ depends = ros-lunar-filters
+ depends = ros-lunar-sensor-msgs
+ depends = ros-lunar-message-runtime
+ source = ros-lunar-laser-assembler-1.7.4-0.tar.gz::https://github.com/ros-gbp/laser_assembler-release/archive/release/lunar/laser_assembler/1.7.4-0.tar.gz
+ sha256sums = 8caa3924c6a926d5baab4adeb575763012b8cd2f2dda456a8458b645afbf0930
+
+pkgname = ros-lunar-laser-assembler
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9b14e17adb4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,75 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - Provides nodes to assemble point clouds from either LaserScan or PointCloud messages."
+url='http://ros.org/wiki/laser_assembler'
+
+pkgname='ros-lunar-laser-assembler'
+pkgver='1.7.4'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-lunar-message-filters
+ ros-lunar-roscpp
+ ros-lunar-tf
+ ros-lunar-laser-geometry
+ ros-lunar-pluginlib
+ ros-lunar-filters
+ ros-lunar-rostest
+ ros-lunar-sensor-msgs
+ ros-lunar-catkin
+ ros-lunar-message-generation)
+makedepends=('cmake' 'ros-build-tools'
+ ${ros_makedepends[@]})
+
+ros_depends=(ros-lunar-message-filters
+ ros-lunar-roscpp
+ ros-lunar-tf
+ ros-lunar-laser-geometry
+ ros-lunar-pluginlib
+ ros-lunar-filters
+ ros-lunar-sensor-msgs
+ ros-lunar-message-runtime)
+depends=(${ros_depends[@]})
+
+# Git version (e.g. for debugging)
+# _tag=release/lunar/laser_assembler/${pkgver}-${_pkgver_patch}
+# _dir=${pkgname}
+# source=("${_dir}"::"git+https://github.com/ros-gbp/laser_assembler-release.git"#tag=${_tag})
+# sha256sums=('SKIP')
+
+# Tarball version (faster download)
+_dir="laser_assembler-release-release-lunar-laser_assembler-${pkgver}-${_pkgver_patch}"
+source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/laser_assembler-release/archive/release/lunar/laser_assembler/${pkgver}-${_pkgver_patch}.tar.gz")
+sha256sums=('8caa3924c6a926d5baab4adeb575763012b8cd2f2dda456a8458b645afbf0930')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/lunar/setup.bash ] && source /opt/ros/lunar/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/lunar \
+ -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
+}