dell-g15-fan-control-git

LOW
maintainer MapleProjects 0 votes scanned 2026-09-20 19:33:19.533630
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: Rick <RickStylesProyects>
2pkgname=dell-g15-fan-control-git
3_pkgname=DellG15FanControl---EndeavorOS
4pkgver=1.0.0.r5.270ac73
5pkgrel=1
6pkgdesc="Modern thermal profile manager and fan control for Dell G15 5511 on Arch Linux."
7arch=('any')
8url="https://github.com/MapleProjects/DellG15FanControl---EndeavorOS"
9license=('MIT')
10depends=('python' 'python-pyqt6' 'python-psutil' 'acpi_call-dkms')
11makedepends=('git')
12provides=('dell-g15-fan-control')
13conflicts=('dell-g15-fan-control')
14source=("git+https://github.com/MapleProjects/DellG15FanControl---EndeavorOS.git")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd "$srcdir/$_pkgname"
19 printf "1.0.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20}
21
22package() {
23 cd "$srcdir/$_pkgname"
24
25 # Install package module files to /usr/lib/dell-g15-fan-control/
26 install -dm755 "$pkgdir/usr/lib/dell-g15-fan-control"
27 cp -r dell_g15_fan_control "$pkgdir/usr/lib/dell-g15-fan-control/"
28 install -Dm755 g15_fan_control.py "$pkgdir/usr/lib/dell-g15-fan-control/g15_fan_control.py"
29
30 # System binary launchers in /usr/bin
31 install -dm755 "$pkgdir/usr/bin"
32 cat << 'EOF' > "$pkgdir/usr/bin/dell-g15-fan-control"
33#!/bin/sh
34exec /usr/bin/python3 /usr/lib/dell-g15-fan-control/g15_fan_control.py "$@"
35EOF
36 chmod 755 "$pkgdir/usr/bin/dell-g15-fan-control"
37 ln -sf dell-g15-fan-control "$pkgdir/usr/bin/dell-g15-fan-control-gui"
38 ln -sf dell-g15-fan-control "$pkgdir/usr/bin/g15-fan-control"
39
40 # Desktop entry
41 install -dm755 "$pkgdir/usr/share/applications"
42 cat << 'EOF' > "$pkgdir/usr/share/applications/dell-g15-fan-control.desktop"
43[Desktop Entry]
44Type=Application
45Version=1.0
46Name=Dell G15 Fan Control
47GenericName=Fan Control
48Comment=Control de perfiles térmicos para Dell G15 5511
49Exec=/usr/bin/dell-g15-fan-control
50Icon=dell-g15-fan-control
51Terminal=false
52Categories=System;Settings;HardwareSettings;
53Keywords=fan;ventilador;dell;g15;thermal;termal;cooling;
54StartupNotify=true
55EOF
56
57 # Icon
58 install -Dm644 dell_g15_fan_control/icons/app_icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/dell-g15-fan-control.svg"
59
60 # Systemd services (boot & resume)
61 install -dm755 "$pkgdir/usr/lib/systemd/system"
62 cat << 'EOF' > "$pkgdir/usr/lib/systemd/system/dell-g15-fan-resume.service"
63[Unit]
64Description=Dell G15 Fan Control - Restore thermal profile on resume
65After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
66
67[Service]
68Type=oneshot
69ExecStart=/usr/bin/dell-g15-fan-control --apply-saved-mode
70
71[Install]
72WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
73EOF
74
75 cat << 'EOF' > "$pkgdir/usr/lib/systemd/system/dell-g15-fan-boot.service"
76[Unit]
77Description=Dell G15 Fan Control - Restore thermal profile at boot
78After=multi-user.target
79
80[Service]
81Type=oneshot
82ExecStart=/usr/bin/dell-g15-fan-control --apply-saved-mode
83RemainAfterExit=yes
84
85[Install]
86WantedBy=multi-user.target
87EOF
88
89 # Polkit rule
90 install -dm755 "$pkgdir/usr/share/polkit-1/actions"
91 cat << 'EOF' > "$pkgdir/usr/share/polkit-1/actions/org.dell.g15.fancontrol.policy"
92<?xml version="1.0" encoding="UTF-8"?>
93<!DOCTYPE policyconfig PUBLIC
94 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
95 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
96<policyconfig>
97 <action id="org.dell.g15.fancontrol">
98 <description>Dell G15 Fan Control</description>
99 <message>Se requiere autenticación para controlar los ventiladores</message>
100 <icon_name>dell-g15-fan-control</icon_name>
101 <defaults>
102 <allow_any>auth_admin</allow_any>
103 <allow_inactive>auth_admin</allow_inactive>
104 <allow_active>auth_admin_keep</allow_active>
105 </defaults>
106 <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/python3</annotate>
107 <annotate key="org.freedesktop.policykit.exec.argv1">/usr/lib/dell-g15-fan-control/g15_fan_control.py</annotate>
108 </action>
109</policyconfig>
110EOF
111}
112

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 19:33: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