optimus-manager-qt

MEDIUM
maintainer nardholio 71 votes scanned 2026-10-05 23:40:58.404909
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Shatur <genaloner@gmail.com>
2
3# Use KDE API features (recommended for Plasma users)
4_with_plasma=false
5
6pkgname=optimus-manager-qt
7pkgver=1.6.9
8pkgrel=3
9pkgdesc='A Qt interface for Optimus Manager that allows to configure and switch GPUs on Optimus laptops using the tray menu'
10arch=(x86_64)
11url=https://github.com/Shatur/optimus-manager-qt
12license=(GPL3)
13depends=(qt5-base qt5-svg qt5-x11extras optimus-manager)
14makedepends=(qt5-tools extra-cmake-modules)
15source=($pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/$pkgname-$pkgver-source.tar.gz)
16sha256sums=(0786bdd6ac81943a8fa4432f8406028488eaaf81c33d9e754907bf40a492f901)
17
18if [[ $_with_plasma == true ]]
19then
20 depends+=(knotifications5 kiconthemes5)
21fi
22
23build() {
24 mkdir -p $pkgname-$pkgver/build
25 cd $pkgname-$pkgver/build
26
27 if [[ $_with_plasma == true ]]
28 then
29 cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" -D WITH_PLASMA=ON ..
30 else
31 cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" ..
32 fi
33
34 cmake --build .
35}
36
37package() {
38 cd $pkgname-$pkgver/build
39
40 cmake --install .
41 rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
42}
43

Scan history

Scanned at (UTC)SeverityRules
2026-10-05 23:40:58 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion