diff options
author | Angelo Elias Dal Zotto | 2023-03-14 17:56:43 -0300 |
---|---|---|
committer | Angelo Elias Dal Zotto | 2023-03-14 17:56:43 -0300 |
commit | c453ba949be9eacd5b87e1e36626f3baa1d38bce (patch) | |
tree | d4381813fedca75c4a46ab0b13e8f3981586a34d | |
download | aur-c453ba949be9eacd5b87e1e36626f3baa1d38bce.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..867423845253 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ros2-humble-control-toolbox + pkgdesc = The control toolbox contains modules that are useful across all controllers. + pkgver = 2.2.0 + pkgrel = 1 + url = https://index.ros.org/p/control_toolbox/ + arch = any + depends = ros2-humble + depends = ros2-humble-control-msgs + depends = ros2-humble-realtime-tools + source = https://github.com/ros-controls/control_toolbox/archive/refs/tags/2.2.0.tar.gz + sha256sums = 0f9b4ae39b6a0033cb7bd77de835d49acf8cb72bc0e71c143e0a1d1449df23a0 + +pkgname = ros2-humble-control-toolbox diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ee6450739636 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |