lenovo-vantage-unofficial-linux

LOW
maintainer QiE2035 0 votes scanned 2026-09-24 05:42:19.679263
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

1# Maintainer: 企鹅2035 <qie2035@qq.com>
2# Contributor: nightcodex7 (upstream author)
3
4pkgname=lenovo-vantage-unofficial-linux
5_commit=9a1513e67779a6d9ab72a96502d989cf4367d7b4
6pkgver=20260502
7pkgrel=1
8pkgdesc="Unofficial Lenovo Vantage / Legion Toolkit alternative: PyQt6 GUI, CLI and privileged D-Bus daemon for Lenovo laptops"
9arch=('any')
10url="https://github.com/nightcodex7/lenovo-vantage-unofficial-linux"
11license=('GPL-3.0-only')
12depends=('python' 'python-dbus' 'python-gobject' 'python-pyqt6' 'dbus' 'systemd')
13optdepends=('supergfxctl: GPU switching (hybrid/iGPU/dGPU) support'
14 'ryzenadj: custom TDP tuning on AMD CPUs'
15 'zenity: dialog menus for the vantage launcher script'
16 'xorg-xinput: input controls used by the vantage launcher script'
17 'networkmanager: network status in the vantage launcher script')
18install="$pkgname.install"
19source=("$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz")
20sha256sums=('4b9840249d2f7aa8710078ef44a1ddce6bc9b52ebf52d10c2ed8d6e474a1bf66')
21
22package() {
23 cd "$pkgname-$_commit"
24
25 # Root daemon + feature modules
26 install -dm755 "$pkgdir/usr/lib/vantage/daemon"
27 cp -r --no-preserve=ownership daemon/features daemon/ipc \
28 "$pkgdir/usr/lib/vantage/daemon/"
29 install -Dm755 daemon/vantaged.py daemon/automation.py \
30 -t "$pkgdir/usr/lib/vantage/daemon/"
31 find "$pkgdir/usr/lib/vantage" -type d -name '__pycache__' -prune -exec rm -rf {} +
32
33 # CLI and GUI entry points
34 install -Dm755 cli/vantage-cli.py "$pkgdir/usr/bin/vantage-cli"
35 install -Dm755 cli/vantage-gui.py "$pkgdir/usr/bin/vantage-gui"
36 install -Dm755 vantage.sh "$pkgdir/usr/bin/vantage"
37
38 # D-Bus system policy (modern /usr path; never ship policy in /etc)
39 install -Dm644 dbus/org.lenovo.Vantage.conf \
40 "$pkgdir/usr/share/dbus-1/system.d/org.lenovo.Vantage.conf"
41
42 # systemd unit (enablement is left to the user, not the package)
43 install -Dm644 systemd/vantaged.service \
44 "$pkgdir/usr/lib/systemd/system/vantaged.service"
45
46 # Icon (270x270 PNG ships fine from the 256x256 hicolor slot)
47 install -Dm644 icon.png \
48 "$pkgdir/usr/share/icons/hicolor/256x256/apps/vantage.png"
49
50 # Desktop entry: reference the icon by theme name, lowercase Terminal key
51 install -Dm644 vantage.desktop \
52 "$pkgdir/usr/share/applications/vantage.desktop"
53 sed -i -e 's|^Icon=.*|Icon=vantage|' \
54 -e 's|^Terminal=False|Terminal=false|' \
55 "$pkgdir/usr/share/applications/vantage.desktop"
56}
57

Scan history

Scanned at (UTC)SeverityRules
2026-09-24 05:42:19 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