summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD117
1 files changed, 52 insertions, 65 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1380e05877e..5d831fc86b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,84 +1,71 @@
-# Script generated with import_catkin_packages.py
-# For more information: https://github.com/bchretien/arch-ros-stacks
pkgdesc="ROS - PCL (Point Cloud Library) ROS interface stack."
url='https://wiki.ros.org/perception_pcl'
pkgname='ros-noetic-pcl-ros'
-pkgver='1.7.0'
-_pkgver_patch=0
+pkgver='1.7.2'
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
-pkgrel=3
+pkgrel=1
license=('BSD')
-ros_makedepends=(ros-noetic-rosconsole
- ros-noetic-pcl-conversions
- ros-noetic-nodelet-topic-tools
- ros-noetic-dynamic-reconfigure
- ros-noetic-std-msgs
- ros-noetic-tf2-eigen
- ros-noetic-message-filters
- ros-noetic-roscpp
- ros-noetic-tf
- ros-noetic-roslib
- ros-noetic-catkin
- ros-noetic-pluginlib
- ros-noetic-rosbag
- ros-noetic-nodelet
- ros-noetic-pcl-msgs
- ros-noetic-sensor-msgs
- ros-noetic-cmake-modules)
-makedepends=('cmake' 'ros-build-tools'
- ${ros_makedepends[@]}
- eigen
- pcl)
+ros_makedepends=(
+ ros-noetic-catkin
+ ros-noetic-cmake-modules
+ ros-noetic-rosconsole
+ ros-noetic-roslib
+)
+makedepends=(
+ cmake
+ ros-build-tools
+ ${ros_makedepends[@]}
+)
-ros_depends=(ros-noetic-pcl-conversions
- ros-noetic-dynamic-reconfigure
- ros-noetic-std-msgs
- ros-noetic-tf2-eigen
- ros-noetic-nodelet
- ros-noetic-roscpp
- ros-noetic-pluginlib
- ros-noetic-rosbag
- ros-noetic-nodelet-topic-tools
- ros-noetic-pcl-msgs
- ros-noetic-message-filters
- ros-noetic-sensor-msgs
- ros-noetic-tf)
-depends=(${ros_depends[@]}
- eigen
- pcl)
+ros_depends=(
+ ros-noetic-dynamic-reconfigure
+ ros-noetic-geometry-msgs
+ ros-noetic-message-filters
+ ros-noetic-nodelet
+ ros-noetic-nodelet-topic-tools
+ ros-noetic-pcl-conversions
+ ros-noetic-pcl-msgs
+ ros-noetic-pluginlib
+ ros-noetic-rosbag
+ ros-noetic-roscpp
+ ros-noetic-sensor-msgs
+ ros-noetic-std-msgs
+ ros-noetic-tf
+ ros-noetic-tf2
+ ros-noetic-tf2-eigen
+ ros-noetic-tf2-ros
+)
+depends=(
+ ${ros_depends[@]}
+ eigen
+ pcl
+)
-# Git version (e.g. for debugging)
-# _tag=release/noetic/pcl_ros/${pkgver}-${_pkgver_patch}
-# _dir=${pkgname}
-# source=("${_dir}"::"git+https://github.com/ros-gbp/perception_pcl-release.git"#tag=${_tag})
-# sha256sums=('SKIP')
-
-# Tarball version (faster download)
_dir="perception_pcl-${pkgver}/pcl_ros"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros-perception/perception_pcl/archive/${pkgver}.tar.gz")
-sha256sums=('ac821a662e507df7e48cebc0ba02aaa360b8edbd43873fc6f63bc65ec3d12628')
+sha256sums=('1d131d1897f5380617842805f1aff193071a8104c8994737d32bab8b3caa08a4')
build() {
- # Use ROS environment variables
- source /usr/share/ros-build-tools/clear-ros-env.sh
- [ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash
- # Create build directory
- [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
- cd ${srcdir}/build
+ # Create build directory
+ [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
+ cd ${srcdir}/build
- # Build project
- cmake ${srcdir}/${_dir} \
- -DCATKIN_BUILD_BINARY_PACKAGE=ON \
- -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
- -DPYTHON_EXECUTABLE=/usr/bin/python \
- -DSETUPTOOLS_DEB_LAYOUT=OFF
- make
+ # Build project
+ cmake ${srcdir}/${_dir} \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
+ -DPYTHON_EXECUTABLE=/usr/bin/python \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
}
package() {
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}/" install
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
}