v6emul-git

LOW
maintainer top4ek 0 votes scanned 2026-08-26 19:30:41.077132
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

1pkgname=v6emul-git
2pkgver=1.0.0.r41.g664bca4
3pkgrel=1
4pkgdesc="Command-line emulator for the Vector-06C Soviet PC. Git version"
5arch=('x86_64')
6url="https://github.com/parallelno/v6emul"
7license=('MIT')
8depends=('glibc' 'gcc-libs' 'luajit')
9makedepends=('cmake' 'git' 'nlohmann-json')
10provides=('v6emul')
11conflicts=('v6emul')
12options=('!debug')
13# system-deps.patch replaces the FetchContent builds of nlohmann/json and LuaJIT
14# with the system packages.
15# build-fixes.patch fixes two upstream build failures on current Arch: a missing
16# <climits> include for PATH_MAX, and an implicit json -> std::string_view
17# conversion that nlohmann/json dropped after the 3.11.3 pinned by upstream.
18# Re-check that both still apply on every upstream bump.
19source=("${pkgname}::git+${url}.git"
20 "system-deps.patch"
21 "build-fixes.patch")
22sha256sums=('SKIP'
23 'b0e0b6d831af83177309b55a40bcb0fd970ecea8fa0641f81f122e74d2a2e9ec'
24 '3828e3069ff2bfa6b07ce9fb798a68ffd365b31d3024d2ff0148a89571602dd6')
25
26pkgver() {
27 cd "${pkgname}"
28 git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
29}
30
31prepare() {
32 cd "${pkgname}"
33 patch -Np1 -i "${srcdir}/system-deps.patch"
34 patch -Np1 -i "${srcdir}/build-fixes.patch"
35}
36
37build() {
38 export V6EMUL_VERSION="${pkgver}"
39 cmake -S "${pkgname}" -B build \
40 -DCMAKE_BUILD_TYPE=Release \
41 -DBUILD_TESTING=OFF
42 cmake --build build
43}
44
45package() {
46 install -Dm755 build/app/v6emul "${pkgdir}/usr/bin/v6emul"
47
48 cd "${pkgname}"
49 install -Dm644 -t "${pkgdir}/usr/share/v6emul/boot/" res/boot/*
50 install -Dm644 -t "${pkgdir}/usr/share/v6emul/fdd/" res/fdd/*
51 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
52}
53

Scan history

Scanned at (UTC)SeverityRules
2026-08-26 19:30:41 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