gtsam

MEDIUM
maintainer kino_t 2 votes scanned 2026-09-29 11:23:48.115840
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: envolution
2# Contributor: Kartik Mohta <kartikmohta@gmail.com>
3# shellcheck shell=bash disable=SC2034,SC2154
4pkgname=gtsam
5pkgver=4.2
6pkgrel=1
7epoch=1
8pkgdesc="A library of C++ classes that implement smoothing and mapping (SAM) in\
9 robotics and vision, using factor graphs and Bayes networks as the underlying\
10 computing paradigm rather than sparse matrices."
11url="https://gtsam.org/"
12arch=('x86_64' 'i686')
13provides=("gtsam=${pkgver}")
14license=('BSD-3-Clause')
15depends=('boost-libs' 'eigen')
16makedepends=('boost' 'cmake')
17optdepends=('intel-tbb: Use Intel TBB to accelerate computations (add this to the depends section of the PKGBUILD and rebuild the package)')
18source=("https://github.com/borglab/${pkgname}/archive/${pkgver}.tar.gz")
19sha256sums=('9ff8846d0a83a245c284cb5760ec2d74535ef9b5885183ccfefd7ff122eba60e')
20
21build() {
22 cmake -B build -S "${pkgname}-${pkgver}" \
23 -DCMAKE_BUILD_TYPE='None' \
24 -DCMAKE_INSTALL_PREFIX='/usr' \
25 -Wno-dev \
26 -DGTSAM_BUILD_DOCS=OFF \
27 -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
28 -DGTSAM_BUILD_TESTS=OFF \
29 -DGTSAM_BUILD_WITH_CCACHE=OFF \
30 -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
31 -DGTSAM_INSTALL_CPPUNITLITE=OFF \
32 -DGTSAM_INSTALL_GEOGRAPHICLIB=OFF \
33 -DGTSAM_USE_SYSTEM_EIGEN=ON \
34 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
35 cmake --build build
36}
37
38package() {
39 DESTDIR="$pkgdir" cmake --install build
40 install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
41}
42
43# check() {
44# ctest --test-dir build --output-on-failure
45# }
46
47# vim:set ts=2 sw=2 et:
48

Scan history

Scanned at (UTC)SeverityRules
2026-09-29 11:23:48 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

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

0 / 4000
Your suggestion