diff options
author | Achmad Fathoni | 2023-08-26 10:19:59 +0700 |
---|---|---|
committer | Achmad Fathoni | 2023-08-26 10:19:59 +0700 |
commit | 13ed073a7957274770f93a0d39a8c6dd852e1856 (patch) | |
tree | 4bebffa00fee6f906e8e6e11ddcdd355f53e14d6 | |
download | aur-ros2-humble-octomap-msgs.tar.gz |
init
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..98c26e108c58 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,11 @@ +pkgbase = ros2-humble-octomap-msgs + pkgdesc = Messages and serializations / conversion for the OctoMap library. + pkgver = 2.0.0 + pkgrel = 1 + url = https://index.ros.org/p/octomap_msgs/ + arch = any + depends = ros2-humble + source = https://github.com/OctoMap/octomap_msgs/archive/refs/tags/2.0.0.tar.gz + sha256sums = ef273be4b931eacce289ec664a0515d215e1970954d7818df3151e0f2aa90735 + +pkgname = ros2-humble-octomap-msgs diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..89203fd77db4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +_pkgname=octomap_msgs +pkgname=ros2-humble-octomap-msgs +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Messages and serializations / conversion for the OctoMap library." +url="https://index.ros.org/p/octomap_msgs/" +arch=('any') +depends=('ros2-humble') +source=("https://github.com/OctoMap/$_pkgname/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('ef273be4b931eacce289ec664a0515d215e1970954d7818df3151e0f2aa90735') + +build() { + source /opt/ros/humble/setup.bash + + cmake -B build -S "$_pkgname" \ + -DCMAKE_BUILD_TYPE='None' \ + -DCMAKE_INSTALL_PREFIX='/opt/ros/humble' \ + -Wno-dev + + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} |