summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAngelo Elias Dal Zotto2023-06-10 13:04:51 -0300
committerAngelo Elias Dal Zotto2023-06-10 13:04:51 -0300
commitbaaa8092601f568554625b7057cf5b32cd116ef3 (patch)
tree155f98f27d99ec56f3470bd1fb2611fc99c756a6 /PKGBUILD
parent548087926118319e3ee48643135381b88c68ad07 (diff)
downloadaur-ros2-humble-generate-parameter-library.tar.gz
update build
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2f9e597a585e..a07e38397bb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgroot=generate_parameter_library
_pkgname=generate_parameter_library
pkgname=ros2-humble-generate-parameter-library
pkgver=0.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="CMake to generate ROS parameter library"
url="https://index.ros.org/p/generate_parameter_library/"
arch=('any')
@@ -21,11 +21,10 @@ makedepends=('cmake')
source=("https://github.com/PickNikRobotics/generate_parameter_library/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('f1fd0bd411191a68ce70833c97aa0925525951127709819eb00e7a4007f5447e')
-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' \