legio-launcher-git

LOW
maintainer fraa2a 0 votes scanned 2026-10-21 17:32:44.330620
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=legio-launcher-git
2pkgver=0.2.2.r200.g2f22782
3pkgrel=1
4epoch=1
5pkgdesc='Legio desktop game launcher (development sources)'
6arch=('x86_64')
7url='https://github.com/fraa2a/Legio'
8license=('LicenseRef-SA-NC-PD-1.0')
9depends=('glibc' 'gcc-libs' 'gtk3' 'webkit2gtk-4.1' 'libayatana-appindicator' 'libarchive' 'librsvg' 'xdotool' 'umu-launcher' 'xdg-utils' 'desktop-file-utils')
10makedepends=('git' 'rust>=1.98.1' 'nodejs>=22' 'pnpm' 'python' 'pkgconf')
11provides=('legio-launcher')
12conflicts=('legio-launcher')
13# GCC LTO objects from bundled C libraries cannot be linked by Rust's LLD.
14options=('!lto')
15source=('legio::git+https://github.com/fraa2a/Legio.git#branch=main' 'legio-launcher')
16sha256sums=('SKIP' 'e4749475518da35cf046c273c7802802d263f3018760c565c262cc838b9361df')
17
18pkgver() {
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
25build() {
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
32package() {
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)SeverityRules
2026-10-21 17:32:44 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