legio-launcher-git
LOW
maintainer fraa2a
0 votes
scanned 2026-10-21 17:32:44.330620
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=legio-launcher-git
2
pkgver=0.2.2.r200.g2f22782
3
pkgrel=1
4
epoch=1
5
pkgdesc='Legio desktop game launcher (development sources)'
6
arch=('x86_64')
7
url='https://github.com/fraa2a/Legio'
8
license=('LicenseRef-SA-NC-PD-1.0')
9
depends=('glibc' 'gcc-libs' 'gtk3' 'webkit2gtk-4.1' 'libayatana-appindicator' 'libarchive' 'librsvg' 'xdotool' 'umu-launcher' 'xdg-utils' 'desktop-file-utils')
10
makedepends=('git' 'rust>=1.98.1' 'nodejs>=22' 'pnpm' 'python' 'pkgconf')
11
provides=('legio-launcher')
12
conflicts=('legio-launcher')
13
# GCC LTO objects from bundled C libraries cannot be linked by Rust's LLD.
14
options=('!lto')
15
source=('legio::git+https://github.com/fraa2a/Legio.git#branch=main' 'legio-launcher')
16
sha256sums=('SKIP' 'e4749475518da35cf046c273c7802802d263f3018760c565c262cc838b9361df')
17
18
pkgver() {
19
cd "$srcdir/legio"
20
local version
21
version=$(python -c 'import tomllib; print(tomllib.load(open("src-tauri/Cargo.toml", "rb"))["package"]["version"].replace("-", "."))')
22
printf '%s.r%s.g%s' "$version" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
23
}
24
25
build() {
26
cd "$srcdir/legio"
27
export CARGO_TARGET_DIR="$srcdir/target"
28
pnpm install --frozen-lockfile
29
pnpm tauri build --no-bundle --config '{"build":{"beforeBuildCommand":"pnpm build"},"bundle":{"createUpdaterArtifacts":false}}'
30
}
31
32
package() {
33
cd "$srcdir/legio"
34
install -Dm755 "$srcdir/target/release/legio" "$pkgdir/usr/lib/legio/legio"
35
install -Dm755 "$srcdir/legio-launcher" "$pkgdir/usr/bin/legio-launcher"
36
install -Dm644 packaging/aur/legio-launcher.desktop "$pkgdir/usr/share/applications/legio-launcher.desktop"
37
install -Dm644 src-tauri/icons/icon.png "$pkgdir/usr/share/pixmaps/legio-launcher.png"
38
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
39
install -Dm644 THIRD_PARTY_NOTICES.md "$pkgdir/usr/share/licenses/$pkgname/THIRD_PARTY_NOTICES.md"
40
install -Dm644 src/assets/fonts/OFL.txt "$pkgdir/usr/share/licenses/$pkgname/Inter-OFL.txt"
41
install -Dm644 _meta/licenses/glow-icons.txt "$pkgdir/usr/share/licenses/$pkgname/glow-icons.txt"
42
install -Dm644 src-tauri/vendor/flexsearch.LICENSE "$pkgdir/usr/share/licenses/$pkgname/flexsearch.LICENSE"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-21 17:32:44 | Low | 1 |