blob: aeef763e8d77ee53590dd7caabbac4ad0799baac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com>
_pkgname=angles
pkgname=ros2-humble-angles
pkgver=1.15.0
pkgrel=1
pkgdesc="This package provides a set of simple math utilities to work with angles"
url="https://index.ros.org/p/angles/"
arch=('any')
makedepends=('cmake' 'python-setuptools')
depends=('ros2-humble')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/ros/angles/archive/${pkgver}.tar.gz")
sha256sums=('3467a8f5bcc893104f036fad63f3fe44af3a13aae0592d4ae5b24c0dfa520293')
build() {
source /opt/ros/humble/setup.bash
cmake -B build -S "$_pkgname-$pkgver/$_pkgname" \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/opt/ros/humble' \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|