ros2-jazzy-angles
LOW
maintainer AutoUpdateBot
0 votes
scanned 2026-09-03 17:54:21.348771
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: AutoUpdateBot <auto-update-bot@arch4edu.org>
2
# Contributor: insmtr <insmtr@insmtr.cn>
3
# Contributor: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com>
4
5
_pkgname=angles
6
pkgname=ros2-jazzy-angles
7
pkgver=1.16.1
8
pkgrel=1
9
pkgdesc="This package provides a set of simple math utilities to work with angles"
10
url="https://index.ros.org/p/angles/"
11
arch=('any')
12
license=('BSD-3-Clause')
13
makedepends=('cmake' 'python-setuptools')
14
depends=('ros2-jazzy')
15
source=("$_pkgname-$pkgver.tar.gz::https://github.com/ros/angles/archive/${pkgver}.tar.gz")
16
sha256sums=('2bd37cba18f7cc4003712ad951237fb3cff5cc6d2bfd59a12ce3c558170e5fc2')
17
18
build() {
19
source /opt/ros/jazzy/setup.bash
20
21
cmake -B build -S "$_pkgname-$pkgver/$_pkgname" \
22
-DCMAKE_BUILD_TYPE='Release' \
23
-DCMAKE_INSTALL_PREFIX='/opt/ros/jazzy' \
24
-Wno-dev
25
26
cmake --build build
27
}
28
29
package() {
30
DESTDIR="$pkgdir" cmake --install build
31
32
# Upstream ships no LICENSE file; the BSD notice only exists as a comment
33
# block at the top of the public header.
34
sed -n '/Software License Agreement/,/POSSIBILITY OF SUCH DAMAGE/p' \
35
"$_pkgname-$pkgver/$_pkgname/include/angles/angles.h" \
36
| sed 's|^\*\{0,1\} \{0,2\}||' > LICENSE
37
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
38
}
39
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-03 17:54:21 | Low | 1 |