v6emul-git
LOW
maintainer top4ek
0 votes
scanned 2026-08-26 19:30:41.077132
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=v6emul-git
2
pkgver=1.0.0.r41.g664bca4
3
pkgrel=1
4
pkgdesc="Command-line emulator for the Vector-06C Soviet PC. Git version"
5
arch=('x86_64')
6
url="https://github.com/parallelno/v6emul"
7
license=('MIT')
8
depends=('glibc' 'gcc-libs' 'luajit')
9
makedepends=('cmake' 'git' 'nlohmann-json')
10
provides=('v6emul')
11
conflicts=('v6emul')
12
options=('!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.
19
source=("${pkgname}::git+${url}.git"
20
"system-deps.patch"
21
"build-fixes.patch")
22
sha256sums=('SKIP'
23
'b0e0b6d831af83177309b55a40bcb0fd970ecea8fa0641f81f122e74d2a2e9ec'
24
'3828e3069ff2bfa6b07ce9fb798a68ffd365b31d3024d2ff0148a89571602dd6')
25
26
pkgver() {
27
cd "${pkgname}"
28
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
29
}
30
31
prepare() {
32
cd "${pkgname}"
33
patch -Np1 -i "${srcdir}/system-deps.patch"
34
patch -Np1 -i "${srcdir}/build-fixes.patch"
35
}
36
37
build() {
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
45
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-26 19:30:41 | Low | 1 |