diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -4,7 +4,7 @@ _pkgroot=gazebo_ros_pkgs _pkgname=gazebo_dev pkgname=ros2-humble-gazebo-dev pkgver=3.7.0 -pkgrel=3 +pkgrel=4 pkgdesc="Provides a cmake config for the default version of Gazebo for the ROS distribution." url="https://index.ros.org/p/gazebo_dev/" arch=('any') @@ -16,11 +16,10 @@ makedepends=('cmake') source=("https://github.com/ros-simulation/gazebo_ros_pkgs/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('69093e3cc7c4194f958bff777e76ab7c9a8f5c880f764332eb961f791a5a73a4') -prepare() { - source /opt/ros/humble/setup.bash -} build() { + source /opt/ros/humble/setup.bash + cmake -B build -S "$_pkgroot-$pkgver/$_pkgname" \ -DCMAKE_BUILD_TYPE='None' \ -DCMAKE_INSTALL_PREFIX='/opt/ros/humble' \ |