diff options
author | Angelo Elias Dal Zotto | 2023-06-10 10:02:45 -0300 |
---|---|---|
committer | Angelo Elias Dal Zotto | 2023-06-10 10:02:45 -0300 |
commit | f1088b33a939a47e65c50f6ba27ff74bb6fd62f0 (patch) | |
tree | d917e9fe479465be3b2b60ddc18fd7ff14d26d63 | |
parent | 4534aeb2b5423bd45da9a533cf632b0f77055767 (diff) | |
download | aur-f1088b33a939a47e65c50f6ba27ff74bb6fd62f0.tar.gz |
update to 2.5.4-3
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 12 insertions, 9 deletions
@@ -1,11 +1,12 @@ pkgbase = ros2-humble-moveit-ros-visualization pkgdesc = Components of MoveIt that offer visualization pkgver = 2.5.4 - pkgrel = 2 + pkgrel = 3 url = https://index.ros.org/p/moveit_ros_visualization/ arch = any makedepends = eigen makedepends = qt5-base + makedepends = cmake depends = ros2-humble depends = ros2-humble-moveit-common depends = ros2-humble-moveit-ros-robot-interaction @@ -1,15 +1,17 @@ # Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com> +_pkgroot=moveit2 _pkgname=moveit_ros/visualization pkgname=ros2-humble-moveit-ros-visualization pkgver=2.5.4 -pkgrel=2 +pkgrel=3 pkgdesc="Components of MoveIt that offer visualization" url="https://index.ros.org/p/moveit_ros_visualization/" arch=('any') makedepends=( 'eigen' 'qt5-base' + 'cmake' ) depends=( 'ros2-humble' @@ -23,17 +25,17 @@ sha256sums=('42ac45e2631d59203edfdfc2f521312f7ddef04ff5baf1fec43c65f79495d7a6') prepare() { source /opt/ros/humble/setup.bash - - cmake -S moveit2-$pkgver/$_pkgname -B build \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/opt/ros/humble } build() { -source /opt/ros/humble/setup.bash - make -C build + cmake -B build -S "$_pkgroot-$pkgver/$_pkgname" \ + -DCMAKE_BUILD_TYPE='None' \ + -DCMAKE_INSTALL_PREFIX='/opt/ros/humble' \ + -Wno-dev + + cmake --build build } package() { - make DESTDIR="$pkgdir/" -C build install + DESTDIR="$pkgdir" cmake --install build } |