rust-dos

LOW
maintainer dividebysandwich 0 votes scanned 2026-09-25 17:12:25.570634
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: dividebysandwich <josef.jahn@gmail.com>
2
3pkgname=rust-dos
4pkgver=0.4.1
5pkgrel=1
6pkgdesc="An x86 DOS emulator written in Rust, with Sound Blaster, AdLib, Gravis Ultrasound and General MIDI sound and CRT shaders"
7arch=('x86_64' 'aarch64')
8url="https://github.com/dividebysandwich/rust-dos"
9license=('GPL-2.0-or-later')
10# SDL2 opens the window, the sound device and the OpenGL context of the CRT
11# shaders. Everything else (fonts, disk noises, Ultrasound patches) is built in.
12depends=('glibc' 'hicolor-icon-theme' 'libgcc' 'sdl2')
13makedepends=('cargo')
14optdepends=('soundfont-fluid: General MIDI SoundFont for the MPU-401 (soundfont= in [sound])')
15source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
16sha256sums=('4be473e90787260bade31457fb879af7e73fe31c90f7da0a4747b16d7d693560')
17
18prepare() {
19 cd "$pkgname-$pkgver"
20 export RUSTUP_TOOLCHAIN=stable
21 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
22}
23
24build() {
25 cd "$pkgname-$pkgver"
26 export RUSTUP_TOOLCHAIN=stable
27 export CARGO_TARGET_DIR=target
28 cargo build --frozen --release --bin "$pkgname"
29}
30
31check() {
32 cd "$pkgname-$pkgver"
33 export RUSTUP_TOOLCHAIN=stable
34 cargo test --frozen --release
35}
36
37package() {
38 cd "$pkgname-$pkgver"
39 install -Dm0755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
40 install -Dm0644 "packaging/linux/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
41 install -Dm0644 "packaging/linux/$pkgname.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
42 install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
43 install -Dm0644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
44 install -Dm0644 rust-dos.conf.example "$pkgdir/usr/share/doc/$pkgname/rust-dos.conf.example"
45}
46

Scan history

Scanned at (UTC)SeverityRules
2026-09-25 17:12:25 Low 1
2026-09-25 00:03:36 Clean 2
2026-09-24 23:44:46 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