summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Elias Dal Zotto2023-06-10 13:20:49 -0300
committerAngelo Elias Dal Zotto2023-06-10 13:20:49 -0300
commit77424c1ff76db0db43a6be796d63d3a12c236d11 (patch)
tree4d3b6ef387c088334bb5c021de7e27b4500eed71
parent08de48fe78599a3f2d091792f32ec87f1bf9f0ac (diff)
downloadaur-77424c1ff76db0db43a6be796d63d3a12c236d11.tar.gz
update build
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95c69379ceeb..24f8dade2a51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros2-humble-tcb-span
pkgdesc = Implementation of C++20's std::span
pkgver = 1.0.2
- pkgrel = 3
+ pkgrel = 4
url = https://index.ros.org/p/tcb_span/
arch = any
makedepends = cmake
diff --git a/PKGBUILD b/PKGBUILD
index e56d518840a2..a121bfe84ad5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgroot=cpp_polyfills
_pkgname=tcb_span
pkgname=ros2-humble-tcb-span
pkgver=1.0.2
-pkgrel=3
+pkgrel=4
pkgdesc="Implementation of C++20's std::span"
url="https://index.ros.org/p/tcb_span/"
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' \