stealth-mission-89
LOW
maintainer dividebysandwich
0 votes
scanned 2026-10-21 15:32:06.139547
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
pkgname=stealth-mission-89
2
pkgver=0.3.0
3
pkgrel=1
4
pkgdesc='A Rust/Bevy remake of DOS-era 3D flight simulations with VR support'
5
arch=('x86_64' 'aarch64')
6
url='https://github.com/dividebysandwich/stealth-mission-89'
7
license=('Apache-2.0')
8
depends=('alsa-lib' 'glibc' 'hicolor-icon-theme' 'libx11' 'libxcursor' 'libxi' 'libgcc'
9
'libxkbcommon' 'libxrandr' 'systemd-libs' 'vulkan-icd-loader' 'wayland')
10
makedepends=('cargo')
11
optdepends=('openxr: VR headset support (--vr)')
12
options=('!lto')
13
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
14
sha256sums=('a1e96326461a2d584fab11e3b6aa3f4be174597731336ceeb1bf9591fb52df46')
15
16
prepare() {
17
cd "$pkgname-$pkgver"
18
export RUSTUP_TOOLCHAIN=stable
19
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
20
}
21
22
build() {
23
cd "$pkgname-$pkgver"
24
export RUSTUP_TOOLCHAIN=stable
25
export CARGO_TARGET_DIR=target
26
# Release builds drop the default `dev` feature (bevy/dynamic_linking).
27
cargo build --frozen --release -p stealth-mission-89 --no-default-features \
28
--features stealth-mission-89/xr
29
}
30
31
package() {
32
cd "$pkgname-$pkgver"
33
install -Dm755 target/release/$pkgname -t "$pkgdir/usr/lib/$pkgname/"
34
install -dm755 "$pkgdir/usr/share/$pkgname"
35
cp -r --no-preserve=ownership assets "$pkgdir/usr/share/$pkgname/"
36
37
# The game reads its assets from $BEVY_ASSET_ROOT; saves and settings go to the XDG dirs.
38
install -dm755 "$pkgdir/usr/bin"
39
cat > "$pkgdir/usr/bin/$pkgname" <<EOF
40
#!/bin/sh
41
export BEVY_ASSET_ROOT="\${BEVY_ASSET_ROOT:-/usr/share/$pkgname}"
42
exec /usr/lib/$pkgname/$pkgname "\$@"
43
EOF
44
chmod 755 "$pkgdir/usr/bin/$pkgname"
45
46
install -Dm644 packaging/linux/$pkgname.desktop -t "$pkgdir/usr/share/applications/"
47
install -Dm644 packaging/linux/$pkgname.png -t "$pkgdir/usr/share/icons/hicolor/256x256/apps/"
48
install -Dm644 packaging/linux/$pkgname.svg -t "$pkgdir/usr/share/icons/hicolor/scalable/apps/"
49
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
50
cp -r --no-preserve=ownership docs/. "$pkgdir/usr/share/doc/$pkgname/"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-21 15:32:06 | Low | 1 |