lcms2-cmake
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
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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
# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
pkgname=lcms2-cmake
pkgver=2.19.1
_lcms2_release="lcms$pkgver"
_lcms2_release_name="Little-CMS-$_lcms2_release"
pkgrel=1
arch=('any')
pkgdesc="Little CMS configuration files for CMake"
url="https://github.com/mm2/Little-CMS"
license=('MIT')
depends=('cmake' 'lcms2' 'tifdiff')
source=("$_lcms2_release_name.tar.gz::$url/archive/$_lcms2_release.tar.gz")
b2sums=('834b931ef1bc1c2bd601fd05da5eccb4caeeda653a03a9bbab55d1612fc95f269846e2e84fe8fbfe235a8dd87a6f1cfea1d06d86387903380ae3eda5370527be')
#prepare() {
# sed -i '/2\.19/ s/9/9.1/' \
# "$_lcms2_release_name/CMakeLists.txt"
#}
build() {
cmake $_lcms2_release_name \
-Bbuild \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLCMS2_BUILD_STATIC=OFF
cmake --build build/
}
package() {
cd build
make DESTDIR="$pkgdir" install
for files in \
'bin' \
'include' \
'lib/liblcms*' \
'lib/pkgconfig' \
'share/man'
do
rm -fr $pkgdir/usr/$files
done
# Fix reference to the library filename
# The version compiled with Autotools has a different version number
sed -i '/liblcms2/ s/2.19.0/2.0.19/' \
"$pkgdir/usr/lib/cmake/lcms2/lcms2-targets-release.cmake"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 "$srcdir/$_lcms2_release_name/LICENSE" \
-t "$pkgdir/usr/share/licenses/$pkgname"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-28 03:20:12 | Low | 2 |