lcms2-cmake

LOW
maintainer tecnotercio 0 votes scanned 2026-09-28 03:20:12.318580
View on AUR
Why flagged

Package builds CMake configuration files from the project's own GitHub source, which is normal AUR practice; the flagged low-vote and recent upload are common for niche packages but do not indicate active malice or supply-chain risk.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): Package builds CMake configuration files from the project's own GitHub source, which is normal AUR practice; the flagged low-vote and recent upload are common for niche packages but do not indicate active malice or supply-chain risk.

PKGBUILD

1# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
2
3pkgname=lcms2-cmake
4pkgver=2.19.1
5_lcms2_release="lcms$pkgver"
6_lcms2_release_name="Little-CMS-$_lcms2_release"
7pkgrel=1
8arch=('any')
9pkgdesc="Little CMS configuration files for CMake"
10url="https://github.com/mm2/Little-CMS"
11license=('MIT')
12depends=('cmake' 'lcms2' 'tifdiff')
13source=("$_lcms2_release_name.tar.gz::$url/archive/$_lcms2_release.tar.gz")
14b2sums=('834b931ef1bc1c2bd601fd05da5eccb4caeeda653a03a9bbab55d1612fc95f269846e2e84fe8fbfe235a8dd87a6f1cfea1d06d86387903380ae3eda5370527be')
15
16#prepare() {
17# sed -i '/2\.19/ s/9/9.1/' \
18# "$_lcms2_release_name/CMakeLists.txt"
19#}
20
21build() {
22 cmake $_lcms2_release_name \
23 -Bbuild \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DLCMS2_BUILD_STATIC=OFF
27 cmake --build build/
28}
29
30package() {
31 cd build
32 make DESTDIR="$pkgdir" install
33
34 for files in \
35 'bin' \
36 'include' \
37 'lib/liblcms*' \
38 'lib/pkgconfig' \
39 'share/man'
40 do
41 rm -fr $pkgdir/usr/$files
42 done
43
44 # Fix reference to the library filename
45 # The version compiled with Autotools has a different version number
46 sed -i '/liblcms2/ s/2.19.0/2.0.19/' \
47 "$pkgdir/usr/lib/cmake/lcms2/lcms2-targets-release.cmake"
48
49 install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
50 install -Dm644 "$srcdir/$_lcms2_release_name/LICENSE" \
51 -t "$pkgdir/usr/share/licenses/$pkgname"
52}
53

Scan history

Scanned at (UTC)SeverityRules
2026-09-28 03:20:12 Low 2

Report a package

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

0 / 4000
Your suggestion