diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = ros2-humble-smclib pkgdesc = Converts a language-independent description of a state machine into the source code to support that state machine. pkgver = 3.0.2 - pkgrel = 3 + pkgrel = 4 url = https://index.ros.org/p/smclib/ arch = any makedepends = cmake @@ -4,7 +4,7 @@ _pkgroot=bond_core _pkgname=smclib pkgname=ros2-humble-smclib pkgver=3.0.2 -pkgrel=3 +pkgrel=4 pkgdesc="Converts a language-independent description of a state machine into the source code to support that state machine." url="https://index.ros.org/p/smclib/" arch=('any') @@ -15,11 +15,10 @@ makedepends=('cmake') source=("https://github.com/ros/bond_core/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('16f0a741c238057146c50f4537d0e41c6c1842f7890a9fea1e782743ec9909f3') -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' \ |