immortal-barons
LOW
maintainer andy5995
0 votes
scanned 2026-10-06 08:02:16.298752
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: Andy Alt <arch_stanton5995 at proton dot me>
2
3
pkgbase=immortal-barons
4
pkgname=('immortal-barons' 'immortal-barons-sysop')
5
pkgver=0.2.3
6
pkgrel=2
7
pkgdesc='Persistent multiplayer BBS door game inspired by Barren Realms Elite'
8
arch=('x86_64')
9
url='https://github.com/andy5995/immortal-barons'
10
license=('MIT')
11
makedepends=(
12
'go'
13
'libglvnd'
14
'libx11'
15
'libxcursor'
16
'libxfixes'
17
'libxkbcommon'
18
'libxkbcommon-x11'
19
'vulkan-headers'
20
'wayland'
21
)
22
# The vendored-source asset, not the tag archive: the repo does not commit
23
# vendor/, so this is the one that builds without downloading modules.
24
source=("${url}/releases/download/v${pkgver}/${pkgbase}-v${pkgver}-vendored-source.tar.gz")
25
sha256sums=('36d780a1511766d6d3ce528898cda72c021c284eca82002f1057075f5e247ee8')
26
27
build() {
28
cd "${pkgbase}-v${pkgver}"
29
30
export CGO_CPPFLAGS="${CPPFLAGS}"
31
export CGO_CFLAGS="${CFLAGS}"
32
export CGO_CXXFLAGS="${CXXFLAGS}"
33
export CGO_LDFLAGS="${LDFLAGS}"
34
export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw"
35
36
go build -ldflags "-linkmode=external" -o immortal-barons ./cmd/immortal-barons
37
# The sysop panel is its own Go module with its own vendor/ directory.
38
go build -C cmd/ib-sysop -ldflags "-linkmode=external" -o ../../ib-sysop
39
}
40
41
check() {
42
cd "${pkgbase}-v${pkgver}"
43
go test -mod=vendor ./...
44
}
45
46
package_immortal-barons() {
47
depends=('glibc')
48
49
cd "${pkgbase}-v${pkgver}"
50
install -Dm755 immortal-barons -t "${pkgdir}/usr/bin"
51
install -Dm644 README.md ChangeLog install-xtrn.ini \
52
-t "${pkgdir}/usr/share/doc/immortal-barons"
53
install -Dm644 docs/{bbs-cfg,bulletins,charset,command-reference}.md \
54
docs/{door-setup,faq,ftn-transport,inter-bbs}.md \
55
docs/{inter-bbs-troubleshooting,playing,sysop-panel,translating}.md \
56
-t "${pkgdir}/usr/share/doc/immortal-barons/docs"
57
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/immortal-barons"
58
}
59
60
package_immortal-barons-sysop() {
61
pkgdesc='Desktop sysop panel for Immortal Barons'
62
# The panel runs the game binary for every command it offers.
63
depends=(
64
'glibc'
65
"immortal-barons=${pkgver}-${pkgrel}"
66
'libglvnd'
67
'libx11'
68
'libxcursor'
69
'libxfixes'
70
'libxkbcommon'
71
'libxkbcommon-x11'
72
'wayland'
73
)
74
75
cd "${pkgbase}-v${pkgver}"
76
install -Dm755 ib-sysop -t "${pkgdir}/usr/bin"
77
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/immortal-barons-sysop"
78
}
79
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 08:02:16 | Low | 1 |