diff options
author | Angelo Elias Dal Zotto | 2023-03-14 18:28:14 -0300 |
---|---|---|
committer | Angelo Elias Dal Zotto | 2023-03-14 18:28:14 -0300 |
commit | 80876bac27f34c152a90ec84335f94dbdabd546d (patch) | |
tree | cae9b87f8d6457923dacccedad78095415afd52e | |
download | aur-80876bac27f34c152a90ec84335f94dbdabd546d.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..227291237a3b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ros2-humble-moveit-configs-utils + pkgdesc = Python library for loading moveit config parameters in launch files + pkgver = 2.5.4 + pkgrel = 1 + url = https://index.ros.org/p/moveit_configs_utils/ + arch = any + depends = ros2-humble + depends = ros2-humble-launch-param-builder + depends = ros2-humble-srdfdom + source = https://github.com/ros-planning/moveit2/archive/refs/tags/2.5.4.tar.gz + sha256sums = 42ac45e2631d59203edfdfc2f521312f7ddef04ff5baf1fec43c65f79495d7a6 + +pkgname = ros2-humble-moveit-configs-utils diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..270165bccd61 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com> + +_pkgname=moveit_configs_utils +pkgname=ros2-humble-moveit-configs-utils +pkgver=2.5.4 +pkgrel=1 +pkgdesc="Python library for loading moveit config parameters in launch files" +url="https://index.ros.org/p/moveit_configs_utils/" +arch=('any') +depends=( + 'ros2-humble' + 'ros2-humble-launch-param-builder' + 'ros2-humble-srdfdom' +) +source=("https://github.com/ros-planning/moveit2/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('42ac45e2631d59203edfdfc2f521312f7ddef04ff5baf1fec43c65f79495d7a6') + +prepare() { + source /opt/ros/humble/setup.bash +} + +build() { + cd moveit2-$pkgver/$_pkgname + colcon build --merge-install +} + +package() { + # Copy build files + mkdir -p $pkgdir/opt/ros/humble + cp -r $srcdir/moveit2-$pkgver/$_pkgname/install/* $pkgdir/opt/ros/humble/ + # Exclude files that clash with base ros installation + rm $pkgdir/opt/ros/humble/*setup.* + rm $pkgdir/opt/ros/humble/_local_setup* + rm $pkgdir/opt/ros/humble/COLCON_IGNORE +} |