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-tl-expected pkgdesc = C++11/14/17 std::expected with functional-style extensions pkgver = 1.0.2 - pkgrel = 3 + pkgrel = 4 url = https://index.ros.org/p/tl_expected/ arch = any makedepends = cmake @@ -4,7 +4,7 @@ _pkgroot=cpp_polyfills _pkgname=tl_expected pkgname=ros2-humble-tl-expected pkgver=1.0.2 -pkgrel=3 +pkgrel=4 pkgdesc="C++11/14/17 std::expected with functional-style extensions" url="https://index.ros.org/p/tl_expected/" arch=('any') @@ -15,11 +15,10 @@ makedepends=('cmake') source=("https://github.com/PickNikRobotics/cpp_polyfills/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('b7dde11bd51f5a7ded145fbc9a66b5ec304063117da73e19212757cb39830c21') -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' \ |