lib32-gtest
MEDIUM
maintainer severach
1 votes
scanned 2026-09-13 19:15:06.142757
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
5
pkgname=lib32-gtest
6
pkgver=1.15.2
7
pkgrel=1
8
pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
9
arch=(x86_64)
10
url="https://github.com/google/googletest"
11
license=(BSD)
12
depends=(gtest lib32-glibc lib32-gcc-libs)
13
makedepends=(cmake)
14
options=(!buildflags staticlibs !strip)
15
source=("gtest-${pkgver}.tar.gz::https://github.com/google/googletest/archive/refs/tags/v${pkgver}.tar.gz")
16
sha512sums=('9046841044a2bf7edfd96854ad9c44ffae4fcb9fb59a075b367507c0762a98eb32cb6968d46663228272e26321e96f4dd287c95baa22c6af9bad902b8b6ede4e')
17
18
build() {
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
32
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-13 19:15:06 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |