blob: 7d1991634ea4d013f3f9d84bf7b023bd10bdf184 (
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
36
37
|
# Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com>
_pkgroot=bond_core
_pkgname=bondcpp
pkgname=ros2-humble-bondcpp
pkgver=3.0.2
pkgrel=4
pkgdesc="C++ implementation of bond, a mechanism for checking when another process has terminated."
url="https://index.ros.org/p/bondcpp/"
arch=('any')
makedepends=(
'pkgconf'
'cmake'
)
depends=(
'ros2-humble'
'ros2-humble-bond'
'ros2-humble-smclib'
)
source=("https://github.com/ros/bond_core/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('16f0a741c238057146c50f4537d0e41c6c1842f7890a9fea1e782743ec9909f3')
build() {
source /opt/ros/humble/setup.bash
cmake -B build -S "$_pkgroot-$pkgver/$_pkgname" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/opt/ros/humble' \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|