lib32-sdl2-compat
LOW
maintainer orphaned
0 votes
scanned 2026-08-23 11:20:29.798052
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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.
PKGBUILD
1
# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2
pkgname=lib32-sdl2-compat
3
pkgver=2.32.70
4
pkgrel=1
5
pkgdesc="An SDL2 compatibility layer that uses SDL3 behind the scenes - 32-bit"
6
url="https://github.com/libsdl-org/sdl2-compat"
7
depends=('sdl3' 'lib32-glibc' 'lib32-sdl3' 'sdl2-compat')
8
makedepends=('cmake' 'ninja')
9
arch=('x86_64')
10
conflicts=('lib32-sdl2')
11
provides=("lib32-sdl2=${pkgver}")
12
replaces=('lib32-sdl2')
13
license=('Zlib')
14
source=("https://github.com/libsdl-org/sdl2-compat/releases/download/release-${pkgver}/sdl2-compat-${pkgver}.tar.gz"{,.sig})
15
sha512sums=('477eff4b24dde48b8565406c636ffd5e9422700b28aec4bbb6165cbc30e8d95d0fe2c2400f8479c859ab82e8700370e2b5d6041721433ddb0064a1ec262a4af8'
16
'SKIP')
17
validpgpkeys=('0900104363B4C9D4223DE149D913FE7D4B61D39B') # Sam Lantinga
18
19
build() {
20
export CC='gcc -m32'
21
export CXX='g++ -m32'
22
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
23
24
# CFLAGS+=" -ffat-lto-objects"
25
26
cmake -S sdl2-compat-$pkgver \
27
-B build -G Ninja \
28
-DCMAKE_INSTALL_PREFIX=/usr \
29
-DCMAKE_INSTALL_LIBDIR=lib32 \
30
-DCMAKE_BUILD_TYPE=None
31
cmake --build build
32
}
33
34
package() {
35
DESTDIR="${pkgdir}" cmake --install build
36
37
rm -rf "${pkgdir}"/usr/{bin,include,share}
38
install -Dm644 "sdl2-compat-$pkgver/LICENSE.txt" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
39
}
40
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-23 11:20:29 | Low | 1 |