lib32-gtest

MEDIUM
maintainer severach 1 votes scanned 2026-09-13 19:15:06.142757
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: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
2# Contributor: darkprof <darkprof83@gmail.com>
3# Contributor: asuka minato
4
5pkgname=lib32-gtest
6pkgver=1.15.2
7pkgrel=1
8pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
9arch=(x86_64)
10url="https://github.com/google/googletest"
11license=(BSD)
12depends=(gtest lib32-glibc lib32-gcc-libs)
13makedepends=(cmake)
14options=(!buildflags staticlibs !strip)
15source=("gtest-${pkgver}.tar.gz::https://github.com/google/googletest/archive/refs/tags/v${pkgver}.tar.gz")
16sha512sums=('9046841044a2bf7edfd96854ad9c44ffae4fcb9fb59a075b367507c0762a98eb32cb6968d46663228272e26321e96f4dd287c95baa22c6af9bad902b8b6ede4e')
17
18build() {
19 cd "googletest-${pkgver}"
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DBUILD_SHARED_LIBS=ON \
23 -DCMAKE_SKIP_RPATH=ON \
24 -Dgtest_disable_pthreads=ON \
25 -DCMAKE_CXX_FLAGS=-m32 \
26 -DCMAKE_SHARED_LINKER_FLAGS=-m32 \
27 -DBUILD_GMOCK=ON \
28 .
29 cmake --build .
30}
31
32package() {
33 cd "googletest-${pkgver}"
34
35 mkdir -pm 0755 "${pkgdir}/usr/lib32"
36 install -m 644 lib/libgmock{,_main}.so "${pkgdir}"/usr/lib32
37 install -m 644 lib/libgtest{,_main}.so "${pkgdir}"/usr/lib32
38 install -D LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-09-13 19:15:06 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