blob: 189d6df271aa8c73bb3ad20e86ed1c6fe53b4aeb (
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
|
_pkgname=pcl_msgs
pkgname="ros2-humble-${_pkgname/_/-}"
pkgver=1.0.0
pkgrel=1
pkgdesc="Package containing PCL (Point Cloud Library)-related ROS messages."
url="https://index.ros.org/p/$_pkgname"
license=('BSD')
arch=('any')
depends=('ros2-humble')
source=("https://github.com/ros-perception/$_pkgname/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('9a3256d5bd44a2e99526c5cf4ed16198471d2b43c63be74a5fcf8d0dcbb29489')
build() {
source /opt/ros/humble/setup.bash
cmake -B build -S $_pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/ros/humble \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|