frugalrgb

LOW
maintainer emaspa 0 votes scanned 2026-08-23 11:20:29.798052
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: Emanuele Sparvoli <sparvoli@gmail.com>
2pkgname=frugalrgb
3pkgver=0.2.1
4pkgrel=1
5pkgdesc="Lightweight standalone RGB controller for PC hardware (no bloat, just LEDs)"
6arch=('any')
7url="https://github.com/emaspa/frugalRGB"
8license=('MIT')
9depends=('python' 'tk' 'python-customtkinter' 'python-ctkcolorpicker'
10 'python-hidapi' 'python-pystray' 'python-pillow' 'python-smbus2')
11optdepends=('python-gobject: native transparent system tray icon (StatusNotifier)'
12 'libayatana-appindicator: native transparent system tray icon (StatusNotifier)')
13install=frugalrgb.install
14source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
15sha256sums=('aa6e6ffd301f28082b000229d52c29a3ede68a40ee304525c4922897b3dfec7f')
16
17build() {
18 cd "frugalRGB-$pkgver"
19 # Render the app icon (frugalrgb/icon.py is PIL-only)
20 python -c "from frugalrgb.icon import create_app_icon; create_app_icon(256).save('frugalrgb.png')"
21}
22
23package() {
24 cd "frugalRGB-$pkgver"
25
26 # Application code
27 install -d "$pkgdir/usr/lib/frugalrgb"
28 cp -r --no-preserve=ownership frugalrgb "$pkgdir/usr/lib/frugalrgb/frugalrgb"
29 find "$pkgdir/usr/lib/frugalrgb" -name __pycache__ -type d -exec rm -rf {} +
30 install -Dm644 main.pyw "$pkgdir/usr/lib/frugalrgb/main.pyw"
31
32 # Launcher
33 install -d "$pkgdir/usr/bin"
34 cat > "$pkgdir/usr/bin/frugalrgb" <<'EOF'
35#!/bin/sh
36exec /usr/bin/python /usr/lib/frugalrgb/main.pyw "$@"
37EOF
38 chmod 755 "$pkgdir/usr/bin/frugalrgb"
39
40 # Device access + kernel modules for DRAM RGB
41 install -Dm644 70-frugalrgb.rules "$pkgdir/usr/lib/udev/rules.d/70-frugalrgb.rules"
42 install -d "$pkgdir/usr/lib/modules-load.d"
43 printf 'i2c-dev\ni2c-piix4\ni2c-i801\n' > "$pkgdir/usr/lib/modules-load.d/frugalrgb.conf"
44 chmod 644 "$pkgdir/usr/lib/modules-load.d/frugalrgb.conf"
45
46 # Desktop integration
47 install -Dm644 packaging/frugalrgb.desktop "$pkgdir/usr/share/applications/frugalrgb.desktop"
48 install -Dm644 frugalrgb.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/frugalrgb.png"
49
50 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-08-23 11:20:29 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