ros2-jazzy-pal_statistics

LOW
maintainer AutoUpdateBot 0 votes scanned 2026-09-06 05:10:24.165680
View on AUR
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
3pkgbase=ros2-jazzy-pal_statistics
4pkgname=(
5 'ros2-jazzy-pal_statistics_msgs'
6 'ros2-jazzy-pal_statistics'
7)
8pkgver=2.8.2
9pkgrel=1
10pkgdesc="Statistics messages and utilities for ROS 2 Jazzy"
11url="https://github.com/pal-robotics/pal_statistics"
12arch=('x86_64')
13license=('MIT')
14depends=('ros2-jazzy')
15makedepends=('cmake' 'boost')
16source=("$pkgbase-$pkgver.tar.gz::https://github.com/pal-robotics/pal_statistics/archive/refs/tags/${pkgver}.tar.gz")
17sha256sums=('a05368e58e3fd8c428a165f238c7a7e11b9368a985717b8acb7c353c83677021')
18
19_srcname="pal_statistics-$pkgver"
20
21_build_cmake() {
22 local sub="$1"
23 shift
24 source /opt/ros/jazzy/setup.bash
25
26 local prefix='' dep
27 for dep in "$@"; do
28 prefix+="$srcdir/stage-$dep/opt/ros/jazzy:"
29 done
30
31 CMAKE_PREFIX_PATH="${prefix}${CMAKE_PREFIX_PATH}" \
32 cmake -B "$srcdir/build-$sub" -S "$srcdir/$_srcname/$sub" \
33 -DCMAKE_BUILD_TYPE='None' \
34 -DCMAKE_INSTALL_PREFIX='/opt/ros/jazzy' \
35 -DBUILD_TESTING=OFF \
36 -Wno-dev
37 cmake --build "$srcdir/build-$sub"
38 DESTDIR="$srcdir/stage-$sub" cmake --install "$srcdir/build-$sub"
39}
40
41build() {
42 export CFLAGS+=" -ffile-prefix-map=$srcdir=/usr/src/debug/$pkgbase"
43 export CXXFLAGS+=" -ffile-prefix-map=$srcdir=/usr/src/debug/$pkgbase"
44
45 _build_cmake pal_statistics_msgs
46 _build_cmake pal_statistics pal_statistics_msgs
47}
48
49package_ros2-jazzy-pal_statistics_msgs() {
50 depends=('ros2-jazzy')
51 cp -a "$srcdir/stage-pal_statistics_msgs/." "$pkgdir/"
52 install -Dm644 "$srcdir/$_srcname/pal_statistics_msgs/LICENSE" \
53 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
54}
55
56package_ros2-jazzy-pal_statistics() {
57 depends=('ros2-jazzy' 'ros2-jazzy-pal_statistics_msgs' 'boost' 'gcc-libs')
58 cp -a "$srcdir/stage-pal_statistics/." "$pkgdir/"
59 install -Dm644 "$srcdir/$_srcname/pal_statistics/LICENSE" \
60 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
61}
62

Scan history

Scanned at (UTC)SeverityRules
2026-09-06 05:10:24 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion