gb4me-git

LOW
maintainer mAmineChniti 0 votes scanned 2026-09-20 07:32:26.301293
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: mAmineChniti <emin.chniti@esprit.tn>
2pkgname=gb4me-git
3pkgver=r2.0a3b686
4pkgrel=1
5pkgdesc='Nintendo Game Boy / Game Boy Color emulator in C++23 (SDL3 + Vulkan)'
6arch=('x86_64')
7url='https://github.com/mAmineChniti/GB4ME'
8license=('custom:unknown')
9depends=('sdl3' 'vulkan-icd-loader')
10makedepends=('cmake' 'git' 'shaderc' 'vulkan-headers')
11provides=('gb4me')
12conflicts=('gb4me')
13source=('git+https://github.com/mAmineChniti/GB4ME.git')
14sha256sums=('SKIP')
15
16pkgver() {
17 cd "$srcdir/GB4ME"
18 printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
19}
20
21build() {
22 cd "$srcdir/GB4ME"
23 cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
24 cmake --build build -j"$(nproc)"
25}
26
27package() {
28 cd "$srcdir/GB4ME"
29 DESTDIR="$pkgdir" cmake --install build
30
31 # Compiled SPIR-V shaders (glslc emits these POST_BUILD into build/bin/shaders).
32 # The renderer searches /usr/share/GB4ME/shaders (see vulkan_renderer.cpp).
33 install -Dm644 build/bin/shaders/quad.vert.spv "$pkgdir/usr/share/GB4ME/shaders/quad.vert.spv"
34 install -Dm644 build/bin/shaders/quad.frag.spv "$pkgdir/usr/share/GB4ME/shaders/quad.frag.spv"
35 install -Dm644 build/bin/shaders/gui.vert.spv "$pkgdir/usr/share/GB4ME/shaders/gui.vert.spv"
36 install -Dm644 build/bin/shaders/gui.frag.spv "$pkgdir/usr/share/GB4ME/shaders/gui.frag.spv"
37
38 # Console photo texture for the menu shell (see create_body_texture).
39 install -Dm644 assets/gbc_body.png "$pkgdir/usr/share/GB4ME/assets/gbc_body.png"
40
41 # Window/app icon (512x512) and desktop entry (Icon=GB4ME resolves via hicolor).
42 install -Dm644 assets/GB4ME.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/GB4ME.png"
43 install -Dm644 GB4ME.desktop "$pkgdir/usr/share/applications/GB4ME.desktop"
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 07:32:26 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