lib32-sdl2-compat

LOW
maintainer orphaned 0 votes scanned 2026-08-23 11:20:29.798052
View on AUR
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>
2pkgname=lib32-sdl2-compat
3pkgver=2.32.70
4pkgrel=1
5pkgdesc="An SDL2 compatibility layer that uses SDL3 behind the scenes - 32-bit"
6url="https://github.com/libsdl-org/sdl2-compat"
7depends=('sdl3' 'lib32-glibc' 'lib32-sdl3' 'sdl2-compat')
8makedepends=('cmake' 'ninja')
9arch=('x86_64')
10conflicts=('lib32-sdl2')
11provides=("lib32-sdl2=${pkgver}")
12replaces=('lib32-sdl2')
13license=('Zlib')
14source=("https://github.com/libsdl-org/sdl2-compat/releases/download/release-${pkgver}/sdl2-compat-${pkgver}.tar.gz"{,.sig})
15sha512sums=('477eff4b24dde48b8565406c636ffd5e9422700b28aec4bbb6165cbc30e8d95d0fe2c2400f8479c859ab82e8700370e2b5d6041721433ddb0064a1ec262a4af8'
16 'SKIP')
17validpgpkeys=('0900104363B4C9D4223DE149D913FE7D4B61D39B') # Sam Lantinga
18
19build() {
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
34package() {
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)SeverityRules
2026-08-23 11:20:29 Low 1

Report a package

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

0 / 4000
Your suggestion