blob: ee645073963697feb2ca79fded7a0e8509ee257e (
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
|
# Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com>
pkgname=ros2-humble-control-toolbox
pkgver=2.2.0
pkgrel=1
pkgdesc="The control toolbox contains modules that are useful across all controllers."
url="https://index.ros.org/p/control_toolbox/"
arch=('any')
depends=(
'ros2-humble'
'ros2-humble-control-msgs'
'ros2-humble-realtime-tools'
)
source=("https://github.com/ros-controls/control_toolbox/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('0f9b4ae39b6a0033cb7bd77de835d49acf8cb72bc0e71c143e0a1d1449df23a0')
prepare() {
source /opt/ros/humble/setup.bash
cmake -S control_toolbox-$pkgver -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/ros/humble
}
build() {
make -C build
}
package() {
make DESTDIR="$pkgdir/" -C build install
}
|