blob: 70b345a577dd71334347fe1f9ccbb2ef47ea1089 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
_pkgname=pcl_conversions
_metaname=perception_pcl
_distro=humble
pkgname="ros2-$_distro-${_pkgname/_/-}"
pkgver=2.4.1
pkgrel=1
pkgdesc="Provides conversions from PCL data types and ROS message types."
url="https://index.ros.org/p/$_pkgname/"
license=("BSD")
arch=('any')
depends=(
"ros2-$_distro"
"ros2-$_distro-pcl-msgs"
'pcl'
'openmpi'
'nlohmann-json'
'eigen'
)
source=("https://github.com/ros-perception/$_metaname/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('cb1b36f65aeeacbbdeca0baf13907f38cadaf272bee46cf6775f0b3974d4cb0d')
build() {
source /opt/ros/$_distro/setup.bash
cmake -B build -S $_metaname-$pkgver/$_pkgname \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/ros/$_distro \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|